Write a Program in C to convert Fahrenheit to Celcius in C

#include<stdio.h>
#include<conio.h>
void main()
{
float fah,cel;

printf("\n\n Enter the temperature in Fahrenheit= ");
scanf("%f",&fah);

cel=(fah-32)/1.8;

printf("\n\n Temperature in Degree Celcius=%f",cel);
getch();
}

Previous
Next Post »