Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.19 KB | None | 0 0
  1. public class time {
  2.     public static void main(String[] args) {
  3. int hours = 1087 / 60;
  4.   int minutes = hours % 60;
  5.  
  6.         System.out.printf("%d:%02d",hours,minutes);
  7.  
  8.  
  9.  
  10.  
  11.  
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement