Avatar

Correct answer by
Level 10

Write code that changes everythig to a common unit (i.e. minutes). Then you can add them up and get a total number of minutes. Then finally you can divide by 60 to get the hours and the reminder will be the number of minutes you have. So if you end up with 183 minutes you woudl have 3 hrs and 3 mins.

Make sense?

Paul

View solution in original post