MiniMi2022

Clock

Apr 8th, 2023 (edited)
603
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. public class Clock {
  2.     public static void main(String[] args) {
  3.         while (true) {
  4.             for (int i = 0; i < 24; i++) {
  5.                 for (int j = 0; j < 60; j++) {
  6.                     System.out.println(i + ":" + j);
  7.                 }
  8.             }
  9.         }
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment