C++ Program to Print Upperhalf and Lowerhalf Triangle of Square Matrix – Programming Code Examples
C++

C++ Program to Print Upperhalf and Lowerhalf Triangle of Square Matrix1 min read

Here is the C++ program to print upperhalf and lowerhalf triangle of a square matrix.

Output




Enter size of the Matrix(min:3,max:5):3

Enter the Matrix row wise:
1 2 3
4 5 6
7 8 9

2 3
  6

4
7 8

Leave a Comment