#include <stdio.h>

/* Print Fahrenheit-Celsius table for fahr = 0, 20, ..., 300 */

main()
{
	/* Variable declaration */
	int fahr, celsius;
	int lower, upper, step;
	/* Basic types: char, short, int, long, float, double */

	/* Assignment statements*/
	lower = 0; 	/* lower limit of temperature scale */
	upper = 300; 	/* upper limit */
	step = 20; 	/* step size */
	fahr = lower;

	/* while loop */
	while (fahr <= upper) {
	   celsius = 5 * (fahr-32) / 9;
	   printf("%d\t%d\n", fahr, celsius);
	   fahr = fahr + step;
	}
}


/* Output

0 	-17
20 	-6
40 	4
60 	15
80 	26
100 	37
...

 */



