Topic: Array Problem / Level: beginner

Problem: Check if the sum of all diagonal elements in a square 2D matrix is divisible by the sum of the boundary elements.

Run the code to see the output here...