#include<stdio.h>
int main(void)
{
float aboat=32000.0;
double abet=2.14e9;
long double dip=5.32e-5;
printf("%f can be written %e\n",aboat,aboat);
printf("%f can be written %e\n",abet,abet);
printf("%f can be written %e\n",dip,dip);
getchar();
return 0;
}
运行结果是:
而书上最后一项的答案是:
0.000053 can be written 5.320000e-5
我觉得我的运行结果有问题,是什么原因啊?