Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to check if all diagonal elements are prime numbers.

Run the code to see the output here...