Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- for (int h = 0; h < 24; h++) {
- for (int m = 0; m < 60; m++) {
- for (int s = 0; s < 60; s++) {
- cout << h << " : " << m << " : " << s << endl;
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement