#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; }
#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; }
转载于:https://www.cnblogs.com/Estwind/p/9720114.html