> 其他 >
输入一个华氏温度,要求输出相应的摄氏温度.转换公式为:C=5/9(F-32) 用C语言怎么写啊,请高手赐教下,
人气:308 ℃ 时间:2020-03-28 16:23:59
解答
#include
void main(){
float c,f;
scanf("%f",&f);
c=5.0/9*(e-32);
printf("%f",c);
}
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版