摄氏温度转换为华氏温度.c 136 B

123456789
  1. #include <stdio.h>
  2. int main() {
  3. int C;
  4. scanf("%d", &C);
  5. float F = C * 9.0 / 5 + 32;
  6. printf("%.1f", F);
  7. return 0;
  8. }