Spocoman

09. Clock

Nov 20th, 2021 (edited)
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Clock
  4.  
  5. {
  6.     class Program
  7.     {
  8.         static void Main(string[] args)
  9.         {
  10.             for (int h = 0; h < 24; h++)
  11.             {
  12.                 for (int m = 0; m < 60; m++)
  13.                 {
  14.                     Console.WriteLine($"{ h} : { m}");
  15.                 }
  16.             }
  17.         }
  18.     }  
  19. }
Add Comment
Please, Sign In to add comment