#include‹stdio.h>
#include‹math.h>
double p(double X, double y;
int main()
{
double X,y;
int C;
double ret;
scanf("%lf %lf", &x, &y) ;
if(x<0){
X=-X
}
if (y<0){
y=-y;
}
P(x ,y) ;
return 0;
}
double p(double x, double y){
double ret;
double n,c=0;
if(x<2){
×=2-×;
}e1se x=x-2;
if(y<2){
y=2-y;
}else y=y-2;
n=pow(x,2) +pow(y, 2);
ret=sqrt(n);
¡f(ret‹=1){
C=10;
}
printf(%lf\n",ret);
printF("%d\n",c);
}
为什么这个if(ret<=1)没法运行