为什么第一行变量x用double与int就可以输出结果但是float就不行?
double x; printf("请输入本金:"); scanf("%lf",&x); float result=pow(1.033,3)*x; printf("本息合计:%lf",result); return 0;