Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to replace all even numbers in the matrix with -1 and odd numbers with 2.

Run the code to see the output here...