Project
- Write a program which calculates the number of seconds running time for finishers of the New York City Marathon. Write a complete C program which defined int variables for hours, minutes, seconds, and totalSeconds. Use the program to calculate the total number of seconds contained for each of these cases:
- 5 hours, 20 minutes, 55 seconds
- 2 hours, 21 minutes, 8 seconds
- 3 hours, 51 minutes, 58 seconds
- Be sure to use comments to describe your program, and use the title comment to identify the listing. Hand in a printed copy of the program, and a printed copy of its output.