Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to calculate the sum of all prime numbers in the first and last columns.

Run the code to see the output here...