Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to replace the prime elements in a matrix with -1.

Run the code to see the output here...