Hi,,(adsbygoogle = window.adsbygoogle || []).push({});

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

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Can u help me,please

**Physics Forums | Science Articles, Homework Help, Discussion**