Advertisement
Josif_tepe

Untitled

Apr 3rd, 2024
756
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. #include <iostream>
  2. #include <vector>
  3. #include <algorithm>
  4. using namespace std;
  5.  
  6. int main() {
  7.     int a = 5, b = 3, c = 6;
  8.    
  9.     for(int i = 0; i < a; i++) {
  10.         for(int j = 0; j < b; j++) {
  11.             for(int k = 0; k < c; k++) {
  12.                 cout << i << ", " << j << ", " << k << endl;
  13.             }
  14.         }
  15.     }
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement