Computer Science, asked by minasharma7656, 10 months ago

Write a java program to convert seconds to hour, minute and seconds.

Answers

Answered by nishakiran2468
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