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); }}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here