#include <stdio.h>

#define LOWER	0	/* lower limit of table */
#define	UPPER	300	/* upper limit */
#define	STEP	20	/* step size */

float to_celsius(int f)
   /* ensures: result is approximately (5/9) * (f-32) */
{
  return (5.0/9.0) * (f-32);
}


int main()
   /* effect: print Farenheit-Celsius equivalences table */
{
  int fahr;

  for (fahr = LOWER; fahr <= UPPER; fahr = fahr + STEP)
    printf("%3d %6.1f\n", fahr, to_celsius);

  return 0;
}
