Assignment 6: Magic Matrix  


Mail to      : HUAF on MUSICB (all other destinations will be IGNORED)
               
               - Make your 'C' source file, your data and output into                
                 one file and upload to your HUXX account on MUSICB. 
               - Then E-Mail it to HUAF.
               - To get credit for your assignments they MUST be mailed
                 from your own HUxx code  

Due          : April 10,1999 
Weight       : 35


   Write a 'C' program to print out the Magic Matrix. 
   The Magic Matrix is this kind of matrix,whose sums of 
   elements of every row,every column and every diagonal 
   are all equal. 
   Please print out all Magic Matrixes  N*N, N is an odd  
   natural number,0 < N < 16.
      
       EX: The 3*3 Magic Matrix is: 

       8  1  6
       3  5  7
       4  9  2 

       EX: The 5*5 Magic Matrix is:

       17  24   1   8  15 
       23   5   7  14  16
        4   6  13  20  22 
       10  12  19  21   3    
       11  18  25   2   9