Theory
Program to print pyramid using numbers
*
* *
* * *
* * * *
* * * * *
* * * * *
* * * *
* * *
* *
*
#include
int main()
{
int i,n,j;
int space=4;
printf("Enter number of rows:\n");
fflush(stdout);
scanf("%d",&n);
for(i=1;i.... Show MoreFrom Pattern Printing in C · C programming
Program to print pyramid using numbers
C program to print following Pyramid:
C program to Print Pascal's triangle
C program to print following Pyramid:
Program to print full pyramid using *
C Program to print half pyramid a using numbers
Write a program in C to generate following pattern using unformatted input/output functions only.
C program to print following Pyramid: