This project implements a magic square generator using the Samoise method in C. A magic square is an n x n grid where the sum of each row, column, and diagonal is the same. The program works for odd values of n.
- Generates a magic square of any odd order.
- Efficient memory management.
- Clean output formatting for visualization.
To compile the program, run:
gcc -o magic_square magic_square.c