/* Assignment 3 */
/* Program to convert fahrenhiet to celsius */

#include 
main ()
{
	/* declaration */
	int fahrenheit;
	double celsius;

	/* Get user input */
	printf("Enter the temperature in fahrenheit > ");
	scanf ("%d", &fahrenheit);

	/* Calculation */
	celsius = 5.0/9 * (fahrenheit - 32);

	/* Display temperature in celsius */
	printf("The temperature in celsius is %f \n", celsius);
}


    Source: geocities.com/fire_168