Question: Q4) Write a program that asks the user to type in a time in seconds and display it in the standard format hours : minutes
Q4) Write a program that asks the user to type in a time in seconds and display it in the standard format hours : minutes : seconds (where 1 hour = 3600 seconds and 1 minute = 60 seconds). Your output should look similar to this: Time in seconds: 3725 Time is ...1:2:5 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
