here is a code for making a triangle. can anyone change this to make a circle
#include<stdio.h>
 int main()
 {
int tr=10,r,c,s, o=1;

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



       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

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

Reply via email to