Topic: Matrix Manipulation Problem / Level: beginner

Problem: Write a program to check if a matrix is a unit matrix (all diagonal elements are 1, and all others are 0).

Run the code to see the output here...