#include<stdio.h>
#include<math.h>
int main(void)
{
float a, b;
while (scanf_s("%f %f", &a,&b) ==2)
{
if (fabs(a) > fabs(b))
printf("BIGGER\n");
else if (fabs(a) == fabs(b))
printf("EQUAL\n");
else
printf("SMALLER\n");
}
return 0;
}
想问一下如何将精度控制在小数点三位,以及这个程序有什么问题吗