#### Upper or lower triangular matrix

Question: To check whether the given matrix is an upper or lower triangular matrix or not a triangular matrix Logic: Get the matrix as input from the user. If all the positions i>j are zero or elements below the diagonal are zero is an upper triangular matrix. If all the positions i<j are zero or […]