Prog#012: Fahrenheit to centigrade:

/* 
Program#12
Fahrenheit to centigrade
*/

#include <stdio.h>
main(){
float c,f;
printf("\nEnter Fahrenheit :");
scanf("%f",&f);
c=(5.0/9.0)*(f-32);
printf("%.1f Fahrenheit equals %.1f celsius\n",f,c);
}