Saturday, 14 December 2013

c program to convert temperature from fahrenheit to centigrade

Below is given c programming source code for convert  temperature from Fahrenheit to centigrade.

Fahrenheit to centigrade converting by using formula    c=(f-32)*5/9



/*Program fo Convert  temperature. Fahrenheit to Centigrade*/
#include <stdio.h>
#include <conio.h>
main ()
{
     float f;
     float c;
     printf ("Enter Temperature in Fahrenheit to convert in Centigrade \n");
     scanf ("%f",&f);
     c=(f-32)*5/9;
     printf ("Temperature. in centigrade is %f",c);
     getch ();
     }










Previous Page Next Page Home

Popular Posts