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

Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad