- #1

- 10

- 0

Hi,,

I am hoping that you will help me. I have trouble how can do this homework:

Write a program that allows the user to input a number of integers such as N, and then stores them in an integer matrix where:

1- The dimension of matrix = NXN.

2-Entries of matrix can take any number from 0-2.

3- Arrangement of entries of first row is the same arrangement of entries of first column.

4-The diagonal of matrix =o.

5- Total of every row =4,Also Total of every column.

Then, the program displays the result.

Your help would greatly be appreciated

Respectfully,,

Miss_Lolitta

I am hoping that you will help me. I have trouble how can do this homework:

Write a program that allows the user to input a number of integers such as N, and then stores them in an integer matrix where:

1- The dimension of matrix = NXN.

2-Entries of matrix can take any number from 0-2.

3- Arrangement of entries of first row is the same arrangement of entries of first column.

4-The diagonal of matrix =o.

5- Total of every row =4,Also Total of every column.

Then, the program displays the result.

Your help would greatly be appreciated

Respectfully,,

Miss_Lolitta