Level: intermediate
Question: Write a program to check if a matrix is a diagonal matrix.
Solution:
Coming Soon....
More Problems
Write a program to check if a matrix is an upper triangular matrix.
Write a program to check if a matrix is a lower triangular matrix.
Write a program to find the sum of the main diagonal elements of a matrix.
Write a program to find the sum of the secondary diagonal elements of a matrix.
Write a program to print the boundary elements of a matrix.