#include <stdio.h>
int main ()
{
char ch ;
float r=1;
float x,y,R;
{
printf("input(x,y):");
scanf("%f,%f",&x,&y);
R=(x-2)*(x-2)+(y-2)*(y-2);
if(r<R)
printf("点A在圆外\n");
if(r>R)
printf("点A在圆内\n");
else if(r==R)
printf("点A在圆上\n");
}
return 0;
}
int main ()
{
char ch ;
float r=1;
float x,y,R;
{
printf("input(x,y):");
scanf("%f,%f",&x,&y);
R=(x-2)*(x-2)+(y-2)*(y-2);
if(r<R)
printf("点A在圆外\n");
if(r>R)
printf("点A在圆内\n");
else if(r==R)
printf("点A在圆上\n");
}
return 0;
}