Write a program to convert Fahrenheit temperature into Celsius

#include<stdio.h>
#include<conio.h>
int main()
{
float f,c;
printf("enter the temperature into Fahrenheit");
scanf("%f",&f);
c=(f-32)/1.8;
printf("the Celsius is %f",c);
}

No comments:

Post a Comment