Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <ctime>
  3. #include <cstdlib>
  4. using namespace std;
  5.  
  6. int main() {
  7.     srand(time(nullptr));
  8.     for(int I = 0; I < 3; I++){
  9.        Cout << "i = " << i << endl;
  10.        for(int j = 0; j < 3; j++){
  11.            Cout << rand() % (7*I) << "\t";
  12.        }
  13.        Cout << endl;
  14.      }
  15.     Return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement