#include<stdio.h>
int main()
{
float f,c;
f=64.0;
c=(5.0/9)*(f-32);
printf("f=%f\nc=%f\n",f,c);
return 0;
}
有人用温度计测量出用华氏法表示的温度(如64ºF)今要求把它转换为以摄氏法表示的温度(如17.8°C)
猜你喜欢
转载自blog.csdn.net/weixin_44668386/article/details/88088554
今日推荐
周排行