Search This Blog

C Program Convert Fahrenheit Into Celsius

C Program Convert Fahrenheit Into Celsius :
//C Program Convert Fahrenheit Into Celsius

#include<stdio.h>
#include<conio.h>
int main()
{
float c,f;
clrscr();
printf("\n Enter Fahrenheit:- ");
scanf("%f",&f);
c=(f-32)*5/9;
printf("\n Celsius is:- %f",c);
getch();
}
OUTPUT
C Program Convert Fahrenheit Into Celsius

No comments:

Post a Comment