main
 1#include "stdio.h"
 2
 3int main()
 4{
 5  float fahr, celsius;
 6  int lower, upper, step;
 7
 8  lower = 0;
 9  upper = 300;
10  step = 20;
11
12  printf("Fahrenheit Celsius\n");
13  fahr = lower;
14  while (fahr <= upper) {
15    celsius = (5.0/9.0) * (fahr-32.0);
16    printf("%10.0f %7.1f\n", fahr, celsius);
17    fahr = fahr + step;
18  }
19}