Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to replace all the elements in the main diagonal with 0.

Run the code to see the output here...