给变量centimeters赋值为inches*2.45 两变量类型均为float
提示用户输入身高(英寸)为70.0为什么显示结果为0.000000
#include <stdio.h>
int main()
{
float inches,centimeters;
scanf("%f",&inches);
centimeters = inches*2.45;
printf("%f",centimeters);
return 0;
}
能展示一下代码吗