C program to convert Fahrenheit to Celsius.


#include<stdio.h>
#include<conio.h>
void main()
{
	clrscr();
	float fah, cel;
	printf("Enter temperature in Fahrenheit : ");
	scanf("%f",&fah);
	cel=(fah-32) / 1.8;
	printf("Temperature in Celsius = %f",cel);
	getch();
}
C program to convert Fahrenheit to Celsius. C program to convert Fahrenheit to Celsius. Reviewed by on December 22, 2019 Rating: 5

No comments:

Powered by Blogger.