小白提问:为什么5.2+3.1运行出来8.29999(手机上的C语言编译器)谢谢!
#include<stdio.h>int main()
{
float a,b,c;
a=5.2;
b=3.1;
c=a+b;
printf("%f",c);
return 0;
}
8.299999
[Process completed - press Enter]
2019-08-20 22:37
2019-08-21 17:44
2019-08-21 19:40