In this exercise, I will show you, How to write a C program to print pyramid star pattern or equilateral triangle star pattern series of n rows using for loop. How to print pyramid star pattern in C programming. Here, one thing is important to know that the rows of the triangle.
Output:
Enter the number of rows = 10
*
***
*****
*******
*********
***********
*************
***************
*****************
*******************
need an explanation for this answer? contact us directly to get an explanation for this answer