JAVA Magic Square Problem
Recall that a magic square is a 2-dimensional square array with n rows and n columns where each row, col, and diagonal add up to the same value. The value that every row, column, and diagonal adds up to is called the magic sum. For example, here is a magic square for the case n…
