代码: #include int main(void) { float c,f; printf("请输入一个华氏温度:\n"); scanf("%f",&f); c=(f-32)*5/9; printf("对应的摄氏温度是:%.2f\n",c);}图: