Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to replace all composite elements in the matrix with their nearest odd number.

Run the code to see the output here...