#include<stdio.h> void main() { float f,c; printf("请输入华氏温度:"); scanf("%f",&f); c=5*(f-32.0)/9.0; printf("摄氏温度为:%5.2f\n",c); }
#include<stdio.h> void main() { float f,c; printf("请输入华氏温度:"); scanf("%f",&f); c=5*(f-32.0)/9.0; printf("摄氏温度为:%5.2f\n",c); }