how would you enter words into a pyramid: like a 3-letter word: ATE
     T                   
  A    E
  

rose rise <[EMAIL PROTECTED]> wrote:
          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]



                         

       
---------------------------------
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]

Reply via email to