Enter the test case file name: testcase.txt 5 9 1 3 4 8 7 2 6 Sums of rows: 15 15 15 Sums of columns: 15 15 15 Sums of diagonals: 15 12 The array is not a magic square 1 3 16 14 8 15 2 9 13 6 11 4 12 10 5 7 Sums of rows: 34 34 34 34 Sums of columns: 34 34 34 34 Sums of diagonals: 34 34 The array is a magic square 18 24 5 6 12 10 11 17 23 4 22 3 9 15 16 14 20 21 2 8 1 7 13 19 25 Sums of rows: 65 65 65 65 65 Sums of columns: 65 65 65 65 65 Sums of diagonals: 65 65 The array is a magic square