this gives me an infinite loop.... why? is it missing a bracket someplace
  bob
   
  #include<stdio.h>
int main()
{
int tr=10,r,c,s, o=1;

for(c=1; c<=tr; r++)
{
for(c=1;c<=tr- r;c++)
{
printf(" ");
}
for(c=1;c<=o; s++)
printf("c");
printf("\n") ;
o=o+2;
}

}


       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

[Non-text portions of this message have been removed]

Reply via email to