#include <stdio.h>

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

main()
{  	
	printf ("Celsius-Fahrenheit Table\n");
	conversion ();
}

conversion ()
{ 
	int lower, upper, step;
	float fahr, celsius;

	lower = 0;
        upper = 300;
        step = 20;   
	celsius = upper;

    	while (celsius >= lower) {
            fahr = (((celsius * 9.0 )/ 5.0) + 32.0);
	    printf ("%3.0f %6.1f\n", celsius, fahr);
            celsius = celsius - step;
	}
	return;
}

