Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to calculate the product of the diagonal elements that are prime numbers.

Run the code to see the output here...