Advertisement
ivanmitkoff

Untitled

Jun 26th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1. public class ClockJudge {
  2.     public static void main(String[] args) {
  3.  
  4.         for (int hours = 0; hours <= 23 ; hours++) {
  5.             for (int mins = 0; mins <= 59 ; mins++) {
  6.                     System.out.printf("%d:%d%n", hours, mins);
  7.                 }
  8.             }
  9.         }
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement