Yuvalxp8

Watch

Jan 28th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.40 KB | None | 0 0
  1. public class Watch
  2. {
  3.     public static void main(String []args)
  4.     {
  5.         for(int i = 0; i < 24; i++)
  6.         {
  7.             for (int j = 0; j < 60; j++)
  8.             {
  9.                 for(int h = 0; h < 60; h++)
  10.                 {
  11.                     System.out.println(i + " : " + j + " : " + h);
  12.                 }
  13.             }
  14.         }
  15.         System.out.println("00 : 00 : 00");
  16.     }
  17. }
Add Comment
Please, Sign In to add comment