Is it possible to ask the user to fill up a matrix on the following way:
Pseudo code
enter code here
int [][] matrix = new int[3][3];
//I want the user to then be able to type in the following way:
1 2 3
5 3 1
1 2 1
// So the output should fill out the matrix that is 3x3 in this example.