#include int main(){ int f,c; while(scanf("%lf",&f)!=EOF) { c=(f-32)*5/9; printf("%.1lf°F = %.1lf°C\n",c,f); } return 0;}
f是整数,必须用%d输入。输出也用%d