Computer Science, asked by shaikbunny9044, 1 year ago

Program to find matrix is diagnol, lower triangle or no special matrix

Answers

Answered by bhasinanshp9dlfy
0

Input : mat[4][4] = {{1, 0, 0, 0},

                    {1, 4, 0, 0},

                    {4, 6, 2, 0},

                    {0, 4, 7, 6}};

Output : Matrix is in lower triangular form.

Input : mat[4][4] = {{1, 0, 0, 0},

                    {4, 3, 0, 1},

                    {7, 9, 2, 0},

                    {8, 5, 3, 6}};

Output : Matrix is not in lower triangular form.

Similar questions