解题思路:





注意事项:





参考代码:

#include<stdio.h>
int main ()
{
    float c=0,F=0;
    scanf("%f",&F);
    c=5*(F-32)/9;
    printf("c=%.2f",c);
    return 0;
    }



 

0.0分

1 人评分

  评论区

#include<stdio.h>
int main()
{
    double c,f;
    scanf("%If",&f);
    c=5*(f-32)/9;
    printf("c=%0.2If",c);
    return 0;
}
这个为什么是错的
2019-10-12 00:51:13
#include <stdio.h>

int main()
{	
	float temp = 0;
	scanf("%f", &temp);
	printf("C=%0.2lf\n",5*(temp-32)/9);
	return 0;
}

请问为什么说我的答案是错的?
2018-08-08 20:58:08
#include<stdio.h>
int main ()
{
    float c=0,F=0;
    scanf("%f",&F);
    c=5*(F-32)/9;
    printf("c=%.2f",c);
    return 0;
    }
2018-03-07 12:16:30
.
2018-03-07 12:16:10
float那边是不是应该是赋值号
2018-03-01 11:20:09
写的很简洁
2018-02-12 12:17:23
  • «
  • 1
  • »