Homework Statement
An n by n matrix that is filled with the numbers 1, 2, 3, … n2 is a magic square if the sum of the elements in each row, in each column, and in the two diagonals is the same value.
Write a class that creates a square matrix (as a two-dimensional array) andtests whether...