1
0
mirror of https://github.com/renbaoshuo/202401-programming-assignments.git synced 2024-10-18 08:13:38 +00:00
202401-programming-assignments/【实践课内】1.顺序结构/7-1 计算摄氏温度.c

12 lines
132 B
C

#include <stdio.h>
int main() {
int f;
scanf("%d", &f);
printf("Celsius = %d\n", 5 * (f - 32) / 9);
return 0;
}