#include<stdio.h> int main() { float f,c; while(scanf("%f",&f)!=EOF) c=5.0/9*(f-32); printf("fahr=%f,celsius=%f\n",f,c); return 0; }
#include<stdio.h> int main() { float f,c; while(scanf("%f",&f)!=EOF) c=5.0/9*(f-32); printf("fahr=%f,celsius=%f\n",f,c); return 0; }
转载于:https://www.cnblogs.com/chenlong991223/p/9742923.html