题目:输入一个浮点数f, 表示华氏温度, 输出对应的摄氏温度c , c=5/9*(f-32)
#include <stdio.h>
int main(){
float f;
double c;
scanf("%f\n",&f);
c = (5.0/9)*(f-32);
printf("%0.3lf\n",c);
return 0;
}
int main(){
float f;
double c;
scanf("%f\n",&f);
c = (5.0/9)*(f-32);
printf("%0.3lf\n",c);
return 0;
}
不通过
您的代码已保存
答案错误:您提交的程序没有通过所有的测试用例
case通过率为40.00%
程序运行后结果一直这样是怎么回事,搜索了其他解答也是这样的结果,求大佬告知,谢谢!答案错误:您提交的程序没有通过所有的测试用例
case通过率为40.00%
全部评论
(4) 回帖