helloroot


私信TA

用户名:helloroot

访问量:10117

签 名:

等  级
排  名 5221
经  验 1489
参赛次数 0
文章发表 14
年  龄 0
在职情况 学生
学  校 上海交通大学
专  业

  自我简介:

解题思路:

好多题目都是很坑爹的,结果输出的是正确的,但是最终确给出输出答案错误.



注意事项:

注意的是不要用printf给提示,不然会提示你输出答案不正确.



参考代码:

#include <stdio.h>

int main()
{
        float inputNum;
        scanf("%f", &inputNum);
        float result = 5 * (inputNum - 32) / 9;
        printf("c=%5.2f\n", result);
        return 0;
}


 

0.0分

0 人评分

  评论区