1. Engineering
  2. Computer Science
  3. includeltstdiohgt write a program that prompts the user to input...

Question: includeltstdiohgt write a program that prompts the user to input...

Question details

Include<stdio.h>

Write a program that prompts the user to input the elapsed time for an event in seconds.

The program then outputs the elapsed time in hours, minutes, and seconds.

For example:

Enter the elapsed time in second: 9630

The elapsed time in seconds = 9630

The equivalent time in hours:minutes:seconds = 02:40:30

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution