Advertisement
Spocoman

01. Clock

Sep 11th, 2023 (edited)
900
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6.  
  7.     for (int h = 0; h <= 23; h++) {
  8.         for (int m = 0; m <= 59; m++) {
  9.             cout << h << ":" << m << endl;
  10.         }
  11.     }
  12.  
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement