小白问问题-把公里换算成英里
程序#include<stdio.h>
int main(void)
{
float X;
printf("Please enter the number of kilometres you want to convert\n"); //无用的说明
scanf("%f",&X); //获取待换算的值
printf("Conversion to miles is %f",X*0.62137119318182); //换算输出
return 0;
}
dcc编译运行
Please enter the number of kilometres you want to convert
1 //输入的值
Conversion to miles is 0.621371 //输出
问题;想知道为啥后面的数值(0.62137119318182的19318182)没显示出来。
然后需要怎么改
先谢谢大大