Advertisement
krzotki

ccccccccccccccccccccccccccccccccc

Dec 8th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. // ConsoleApplication16.cpp : Defines the entry point for the console application.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "iostream"
  6. #include "stdlib.h"
  7. #include "time.h"
  8. using namespace std;
  9. using namespace std;
  10.  
  11. int main()
  12. {
  13.     int i, j;
  14.     int tab[10][10];
  15.     srand(time(0));
  16.  
  17.     for (i = 0; i<10; i++)
  18.     {
  19.         for (j = 0; j<10; j++)
  20.         {
  21.             tab[i][j] = rand() % (78 - 26 + 1) + 26;
  22.             cout << tab[i][j]<<" ";
  23.         }
  24.         cout << endl;
  25.     }
  26.     cout << endl;
  27.     system("pause");
  28.     return 0;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement