0
Magic Square
The user enters an odd number, N, and a magic square of N rows and N columns appear. Does anyone know how to do this in C?
1 Answer
0
Hi F A, Use an "IF" to evaluate the number (even / odd)
- true => use the for loop inside another for loop. One is for the rows and one for the columns.
- false => error message.
Successes!