15 lines
228 B
C
15 lines
228 B
C
#include <stdio.h>
|
|
|
|
int main(){
|
|
int lowerF, upperF, step;
|
|
lowerF = 0; upperF = 300;
|
|
step = 20;
|
|
|
|
int fahr, cel;
|
|
|
|
for(fahr=lowerF; fahr<=upperF; fahr+=step){
|
|
cel = 5 * (fahr - 32) / 9;
|
|
printf("%d\t%d\n", fahr, cel);
|
|
}
|
|
}
|