mirror of
https://github.com/renbaoshuo/202401-programming-assignments.git
synced 2024-11-27 08:26:20 +00:00
12 lines
132 B
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;
|
||
|
}
|