Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class time {
- public static void main(String[] args) {
- int hours = 1087 / 60;
- int minutes = hours % 60;
- System.out.printf("%d:%02d",hours,minutes);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement