Magic Square Generator

This program is to generate the magic square.
You can choose to show the square directly or step by step.
The corresponding C code is shown at the bottom.

Input the number(3~20):


Magic Square: