I am struggling to make a subprocess that fills an array of n x n, with even random numbers, which must be between 1 and 100.

As I understand it, to generate the random numbers I can use the function `rand`

, but I do not really know what the functions are. I do not know how to start. I would like to know if someone could help me with the problem.

I update / this is the code that I have been advancing

```
int main()
{
srand(time(NULL));
int matriz [12][12];
for (int fila = 0; fila < 12; fila++)
{
for (int columna = 0; columna < 12; columna++)
{
matriz[fila][columna] = rand() % 256;
cout << matriz[fila][columna] << " ";
}
cout<<endl;
}
cout << "*********************************************************" << endl;
system("pause");
}
```

and half solved the matrix and the random, but I can not make them just pairs. Greetings and many thanks in advance.