#include void main() { int cnt=35,temp=35,i,j; clrscr(); printf("%48s\n%48s","Program of Stars","--------------------"); for(i=1;i<=5;i++) { temp-=2; for (j=1;j<=i ;j++ ) { printf("%*c",cnt+1,'*'); cnt=1; }//inner for cnt=temp; printf("\n"); }//outer for getch(); }