+ 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
3 Respostas
+ 1
Maybe you could post the code here so we can help you?
+ 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).