ok so heres the code i have so far but the code doesnt really do anything and I cant figure out
how to write the function to print the picture out on a rectangle space. help please.
Code:
int smlrad,bigrad;
int line,col;
int main (){
printf("please enter your small radius.\n");
scanf("%d",&smlrad);
printf("please enter your big radius.\n");
scanf("%d",&bigrad);
for(line=-bigrad; line<=+bigrad; line++);{
for(col=-bigrad; col<=bigrad; col++);{
if (col^2+line^2<=1)
printf("+");
else if (col^2+line^2<=smlrad^2)
printf("$");
else if(col^2+line^2<=bigrad^2)
printf("+");
}
}
system("pause");
return 0;
}