C Program Code to check whether a given matrix is Upper Triangular or Not

This is a sample C Program Code to check whether a given matrix is Upper Triangular or Not.
This is possible only in a square matrix

If you find any error or if you could suggest any changes in the code please let me know in the comment section.

Upper Triangular Matrix :

 0 1 1      0 1      0 1 1 1
 0 0 1      0 0      0 0 1 1
 0 0 0                 0 0 0 1
                          0 0 0 0



PROGRAM CODE: 




Comments