Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to replace all the prime elements in the matrix with their negatives.

Run the code to see the output here...