C program to find whether a given matrix is upper triangular matrix

C program to find whether a given matrix is upper triangular matrix


Input:

Enter the elements of matrix:
1 2 3
0 4 5
0 0 6

Output:

The matrix is upper triangular matrix

Implementation:

Solution 1:



Solution 2:



Solution 3: