About 137 results (0.0006 seconds)

Write a menu driven program to perform the following operations on a square matrix. Write…

Write a menu driven program to perform the following operations on a square matrix. Write separate functions for each option. 
i)	Check if the matrix is symmetric.
ii)	Display the trace of the matrix (sum of diagonal elements).
iii)	Check if the matrix is an upper triangular matrix.
iv)	Check if the matrix is a lower triangular matrix.
v)	Check if it is an identity matrix.