Predicting the output(Predict the output of the given program) public class MidTerm { public static void main(String[] args) { int Hr,Min,Sec,Tsec=5000; Hr=Tsec/3600; Min=(Tsec%3600)/60;...


Predicting the output(Predict the output of the given program)




public class MidTerm
{
public static void main(String[] args)
{
        int Hr,Min,Sec,Tsec=5000;
        Hr=Tsec/3600;
    Min=(Tsec%3600)/60;
        Sec=(Tsec%3600)%60;
    System.out.print(Hr + ”:” + Min  + “:” + Sec);
    }
}



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here