Thursday, 28 August 2014

Fahrenheit to degree Celsius



#include<conio.h>
#include<stdio.h>
int main()
{
float fahren,Celsius;
printf("Enter the temperature in Fahrenheit :");
scanf("%f",&fahren);
celcius= (fahren-32)*(0.56);
printf("\nTemperature in degree Celsius = %f",Celsius);
getch();
return 0;

}

No comments:

Post a Comment