Question: Write a program to calculate the time to run 5 miles, 1 0 miles, half marathon, and full marathon if you can run at a
Write a program to calculate the time to run miles, miles, half marathon, and full marathon if you can run at a constant speed. The distance of a half marathon is miles and that of a full marathon is miles. Report the time in the format of hours and minutes. Your program will prompt for your running speed mph as an integer.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
