Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class task5 {
- public static void main(String[] args) {
- int sec = 353;
- int hour = sec / 3600,
- min = sec / 60 % 60,
- sc = sec / 1 % 60;
- System.out.println(hour + " " + min + " " + sc);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement