#include <iostream>
#include <stdlib.h> //pentru fct rand
#include <time.h>
#include <ctime>
#include <conio.h>
using namespace std;
int main()
{
getch();
unsigned int a[5][5],j,i,cr,b;
srand(time(NULL));
for( i = 0; i < 5; ++i)
{for( j = 0; j < 5; ++j)
a[i][j]=rand()%5;
}
for( i = 0; i < 5; ++i)
{for( j = 0; j < 5; ++j)
cout<<a[i][j]<<" ";
cout<<'\n';
}
if (getch())// after this i want to return to the first expression any idea on how? only if (getch()) tho
}