this gives an infinite loop..... Why?
//#include<conio.h>
#include<stdio.h>
int main()
{
int tr=10,r,c,s, o=1;
//clrscr();
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;
}
//getch();
}
---------------------------------
Never miss a thing. Make Yahoo your homepage.
[Non-text portions of this message have been removed]
