Print elements of upper triangular matrix

Print elements of upper triangular matrix


Input: The Square Matrix of length N.

Output: The Upper Triangle Matrix.

Step 1: Input The Order of the Matrix: m x n.

Step 2: Input The Elements of the Matrix A[I, J].

Step 3: Initialize i, j.

Step 4: Check if i< rows and increment i(i++).

Step 5: Check if j< column and increment j(j++).

Print a[i][j].

Step 6: Stop.

Programs

CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad