#include<stdio.h>
int main()
{
float x,y,z;
int i;
i++;
do
{
printf("请输入x和y:\n");
scanf("%f %f",&x,&y);
z=(x-2)*(x-2)+(y-2)*(y-2);
if(z<1)
printf("A在圆内\n");
else if(z==1)
printf("A在圆周上\n");
else
printf("A在圆外\n");
}
while("i<=3");
return 0;
}
int main()
{
float x,y,z;
int i;
i++;
do
{
printf("请输入x和y:\n");
scanf("%f %f",&x,&y);
z=(x-2)*(x-2)+(y-2)*(y-2);
if(z<1)
printf("A在圆内\n");
else if(z==1)
printf("A在圆周上\n");
else
printf("A在圆外\n");
}
while("i<=3");
return 0;
}