write a program to input time in second display the time after converting them into hour, minutes, second. sample input time in second 5420.andsample output 1hour 30minutes 20seond
Answers
Answered by
1
Answer:
8,274 seconds = 8,274 seconds ÷ 3,600. 8,274 seconds = 2.29833 hours. full hours = 2. ...
minutes = .29833 hours × 60 minutes. minutes = 17.9 minutes. full minutes = 17. ...
seconds = .9 minutes × 60 seconds. seconds = 54 seconds. Finish up by rewriting as HH:MM:SS.
Similar questions
English,
4 months ago
Math,
4 months ago
Math,
9 months ago
Math,
9 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago