+ 2

Java code

Hi guys, I am asked to write a Java code which converts time in seconds into (H:M:S), my codes gives the same value of minutes as seconds, the seconds value is incorrect...please help me

26th Apr 2018, 9:27 PM
Onyango Godfrey.
3 Respostas
+ 1
Maybe you could post the code here so we can help you?
26th Apr 2018, 10:37 PM
blackcat1111
blackcat1111 - avatar
+ 1
Q. Write a Java program that prompts the user to input time elapsed for an event in seconds. The program then outputs the elapsed time in hours, minutes, and seconds. (For example, if elapsed time is 9630 seconds, then output is 2:4030).
27th Apr 2018, 6:06 AM
Onyango Godfrey.