C++ Program to Find if an Array is an Identity Matrix

OUTPUT