C++ Program to Find Sum of Elements Above and Below Main Diagonal of Matrix

OUTPUT