0

How to print a 3×3 matrix in which sum of all rows and columns is 15 including the diagonals and numbers upto 9 can only be used that is we can use only 1-9 without repeating the same number twice and without taking any input from the user.

using array

2nd Oct 2016, 8:02 AM
Asim
Asim - avatar
2 odpowiedzi
- 1
a char array?
2nd Oct 2016, 10:11 AM
Raul
Raul - avatar
- 1
constant char matrix = { } I think
2nd Oct 2016, 10:12 AM
Raul
Raul - avatar