14 lines
219 B
C
14 lines
219 B
C
|
#include <stdio.h>
|
||
|
|
||
|
#define LOWER 0
|
||
|
#define UPPER 300
|
||
|
#define STEP 20
|
||
|
|
||
|
main()
|
||
|
{
|
||
|
int fahr;
|
||
|
|
||
|
for (fahr = UPPER; fahr >= LOWER; fahr = fahr - STEP)
|
||
|
printf("%3d %6.1f\n", fahr, (5.0 / 9.0) * (fahr - 32));
|
||
|
}
|