
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

#include<stdio.h> #include<conio.h> void main() { int count,a,b,c; clrscr(); printf("\n\nEnter the Number of * to Make Pyramid\n\n"); scanf("%d",&count); printf("\n\n\n\n"); for( a=1;a<=count;a++) { for( b=1;b<=count-a;b++) printf(" "); for( c=1;c<=c2-1;c++) printf(""); printf("\n"); } getch(); }