Question #19413

A magic square with n order is comprised of n^2 numbers(from 1 to n^2).Sums of each row,each column and its diagonal sums are

the same. The constant sum in every row,column,and diagonal is called magic constant, M,where:

M=n(n^2+1)/2

In this project,you are required to design a programme called Magic Square for Odd Order. The programme should prompt user for

any valid odd integer, n, and produce a magic square with size n x n.

the same. The constant sum in every row,column,and diagonal is called magic constant, M,where:

M=n(n^2+1)/2

In this project,you are required to design a programme called Magic Square for Odd Order. The programme should prompt user for

any valid odd integer, n, and produce a magic square with size n x n.

Expert's answer

Unfortunately, your question requires a lot of work and cannot be done for free.

Submit it with all requirements as an assignment to our control panel and we'll assist you.

Submit it with all requirements as an assignment to our control panel and we'll assist you.

## Comments

## Leave a comment