float a;scanf("%lf",a);printf("%f",a);return 0;输入数据后没办法输出四位小数。谢谢!
我是可以运行成功的呀,结果也是对的
能不能把运行结果截个图
float a;scanf("%f",&a);printf("%.4f",a);return 0;