C++ program to print right triangle star pattern
In this program, we will learn how to print a right triangle having stars (asterisk *) as elements. Program 1 (With fixed number of rows) #include<iostream> using namespace std; int main() { int i, j, n = 5; for( i = 1;i <= n; i++) { for(j = 1;j <= …
C++ program to print right triangle star pattern Read More »