Advertisement
Spocoman

01. Clock

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