create a version of the previous project that reverses the computation.That is read a value representing a number of seconds then print the equivalent amount of time as a combination of hours,minutes,and seconds.For example,9999seconds is equivalent to 2hours,46minutes,and 39seconds
Answers
Answered by
0
Answer:
what i can not unsmderatand you have tols right question
Answered by
0
Answer:
class computer
{
public static void main ( inth, intm, ints) ;
{
int hours;
int minutes;
int seconds;
hour= num second/ 3600;
minute= num/ 60-hour*60;
second= num second/-minute*60-hour*3600;
system out printIn ( "hours;"+ hour) ;
system out printIn ( "minutes;"+ minute) ;
system out printIn ( " seconds;"+second) ;
}
}
Explanation:
good morning.......
Similar questions