C-study/02/1/1.c

14 lines
155 B
C
Raw Normal View History

#include <stdio.h>
int main(){
int celsius,fahr;
fahr=100;
celsius=5*(fahr-32)/9;
printf("fahr=%d,celsius=%d\n",fahr,celsius);
}