Write a java program to convert seconds to hour, minute and seconds.
Answers
Answered by
2
Answer:
Input:
Input seconds: 6530
Output:
HH:MM:SS - 1:48:50
Test: Convert HH:MM:SS to seconds again,
1*60*60 + 48*60 + 50 = 3660 + 2880 + 50 = 6530
Similar questions
Geography,
4 months ago
CBSE BOARD X,
4 months ago
Math,
4 months ago
English,
1 year ago
Geography,
1 year ago