Question: Write a program that asks the user to type in a time in seconds and display it in the standard format hours: minutes: seconds

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
include int main int secondsHOURSMINUTESSECONDS printfTime in seconds scan... View full answer
Get step-by-step solutions from verified subject matter experts
