#include<stdio.h> #include<math.h> int main() { float F, C; while (scanf_s("%f", &C)!= EOF) { F = 9*C/5+32; printf("摄氏度c=%.2f时,华氏度f=%.2f", C, F); printf("\n"); } return 0; }