Advertisement
Spocoman

10. Clock - part 2

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