关于浮点数格式运算与定义时应注意的点
#include <stdio.h>int main(){double a=3./4;double b=3/4;double c=3/4.;double d=3./4.;printf("%f\n",a);printf("%f\n",b);printf("%f\n",c);printf("%f\n",d);return 0;}//运算结果分别为0.7500000.0000000.75000