Advertisement
Spocoman

09. Clock

Aug 28th, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1. public class Clock {
  2.     public static void main(String[] args) {
  3.         for (int h = 0; h < 24; h++) {
  4.             for (int m = 0; m < 60; m++) {
  5.                 System.out.printf("%d : %d\n", h, m);
  6.             }
  7.         }
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement