Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ConsoleApplication16.cpp : Defines the entry point for the console application.
- //
- #include "stdafx.h"
- #include "iostream"
- #include "stdlib.h"
- #include "time.h"
- using namespace std;
- using namespace std;
- int main()
- {
- int i, j;
- int tab[10][10];
- srand(time(0));
- for (i = 0; i<10; i++)
- {
- for (j = 0; j<10; j++)
- {
- tab[i][j] = rand() % (78 - 26 + 1) + 26;
- cout << tab[i][j]<<" ";
- }
- cout << endl;
- }
- cout << endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement