24.零起点学算法22——华氏摄氏温度转换

#include<stdio.h>
int main()
{
    float f,c;
    while(scanf("%f",&f)!=EOF)
    {
        c=(f-32)*5.0/9;
        printf("fahr=%f,celsius=%f\n",f,c);
    }
    return 0;
}

猜你喜欢

转载自www.cnblogs.com/Estwind/p/9720114.html