On Feb 17, 2008 3:20 PM, Robert Ryan <[EMAIL PROTECTED]> wrote:
> there is just error which I can not find.....

You're missing a closing brace somewhere...

>   #include<stdio.h>
>   int main()
>   {
>   int tr=10,r=0,c=0,s=0, 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;
>   }

} // Here would be my guess

>   return 0;
>   }
>
>
>   triangle.cpp: In function `int main()':
>   triangle.cpp:15: parse error at end of input

-- 
PJH

http://shabbleland.myminicity.com/ind

Reply via email to