A magic square is an arrangement of the numbers from 1 to n^2 (n-squared) in an nxn matrix, with each number occurring exactly once, and such that the sum of the entries of any row, any column, or any main diagonal is the same.
This repository is a simple solution to the magic square problem. After the user enters an odd number from 1 to 9, the program prints the magic square for this number.