/* To find Farenheit to Centigrade */
#include "stdio.h"
#include "conio.h"
main()
{
	float cent,faren;
	clrscr();
	scanf("%f",&faren);
	cent=(5.0/9.0) * (faren-32.0);
	printf("\n"); /* \n is the new line operator */
	printf("centigrade=");
	printf("%f",cent);
	getch();
}

/* if you give 5/9 the result will be zero because 5/9 is integer format
   The farenheit value should be 32 and above

   Exercise:
   1. To find centigrade to farenheit : faren=9.0/5.0 * cent + 32.0
*/