Topic: Array Problem / Level: beginner

Problem: Check if the sum of elements in the main diagonal of a 2D matrix is a prime number.

Run the code to see the output here...