0

Here is an ex of a problem I'm having difficutly with. I need to make up a program that does the following:

asks user for the number of seconds and the number of miles traveled

program should convert the given number of seonds into different units of time in years/days/hours/minutes/seconds and the average speeds in both miles per hour (mph) and feet per second (ft/s)

using the following conversions:

1 mile= 5280 ft

1 year= 365 days

1 day = 24 hours

1 hour=60 min

1 min=60 secs

I only started learning C++ last week and I'm still not getting it. Someone please help I don't know where to start and sadly I forgot my C++ book at home.