Advertisement
Josif_tepe

Untitled

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