I this is the apropriate program for making a Pyramid of stars :)
_________________________________________________________________________
#include<conio.h>
#include<stdio.h>
void main()
{
int tr=10,r,c,s,o=1;
clrscr();
for(r=1;r<=tr;r++)
{
for(c=1;c<=tr-r;c++)
{
printf(" ");
}
for(s=1;s<=o;s++)
printf("*");
printf("\n");
o=o+2;
}
getch();
}
---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
[Non-text portions of this message have been removed]