#include <stdio.h> int main () { //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 float f,c; printf("输入华氏温度\n"); scanf("%f",&f) ; printf("华氏温度:%f\n",f); c=(5.0/9)*(f-32); printf("摄氏温度:%f",c); return 0; }