帮忙解决问题!
#include <stdio.h>#include <windows.h>
#include <math.h>
#define pi 3.1415
void main ()
{
int iN;
long float fr,fR,fd,a[2];
printf ("输入坐标(a,b)\n");
scanf ("(%f,%f)",&a[0],&a[1]);
fd=sqrt(a[0]*a[0]+a[1]*a[1]);
for (iN=1;;iN++)
{
fr=sqrt(100.0*(iN-1)/pi);
fR=sqrt(100.0*iN/pi);
if (fd>fr&&fd<=fR)
break;
}
printf ("This property will begin eroding in year%d.\n",iN);
system ("pause");
}
输入坐标后没反应呢。。。。。。求解决