Time Converter
created by: Tino Duong, 2003
- Description:
- Write a program that takes a number in terms of seconds and returns the appropriate number of hours, minutes, and remaining seconds.
- Requirements:
- Prompt the user for the number of seconds
- Calculate the maximum number of hours, minutes and remaining seconds.
- Display to the screen the original number of seconds along with the numbers you just calculated
- Your output may look similar to this:
- Welcome to Tino's time converter
--------------------------------
Please enter the number of seconds: 3680
- Seconds is : 3680
Hours: 1 Minutes: 1 Seconds: 20
- Concepts:
- Functions
- Algorithm
-