Programming Project #2
For extra credit (this one is harder), modify the program so the output displays the average time per mile, given in minutes and seconds (26.2 miles in a marathon). For example, a marathon finish time of 2 hours, 10 minutes, and 15 seconds, would have an average time per mile of 4 minutes and 58 seconds. Hint.: change the variable for total seconds to a float variable and think about the fact that floating point division truncates the fractional part of the answer. Do not give the answer in minutes and tenths/hundredths of minutes. Test your program with several different sets of input. Hand in a printed copy of the program, and a printed copy of the output.