Theory
Inverted full pyramid using *
*
**
***
****
#includeint main() { int i,j,n; printf("Enter the number of rows:\n"); scanf("%d",&n); for(i=0; i< n; i++) { for(j=0;j<=i;j++) { printf("*"); } printf("\n"); } return 0; }
From Pattern Printing in C · C programming
Inverted full pyramid using *
C program to print following Pyramid:
Program to print full pyramid using *
C program to print following Pyramid:
C program to Print Pascal's triangle
C program to print following Pyramid:
Write a program in C to generate following pattern using unformatted input/output functions only.
Program to print pyramid using numbers