Write a program to convert Fahrenheit into Celsius in c

Write a program to convert Fahrenheit into Celsius in c. Fahrenheit to Celsius program in c programming for beginners to print or convert Fahrenheit to celsius in c language

#include<stdio.h>
int main()
{
float fahrenheit, celsius;
printf("Enter the Fahrenheit");
scanf("%f", &fahrenheit);
celsius = (fahrenheit-32)/1.8;
printf("\nEquivalent Temperature = %0.2f", celsius);
return 0;
}

 

Output:

Enter the Fahrenheit 100 Equivalent Temperature = 37.78

What is fahrenheit in c programming

Fahrenheit pertaining to or consisting of a temperature scale on which water’s boiling point is 212 degrees above zero and its freezing point is 32 degrees above zero. 

What is celsius in c programming

Celsius pertaining to or possessing a temperature scale in which the boiling point of water is 100 degrees and the freezing point is 0 degrees

What is floating point in c++

A number followed by a decimal point is assumed to be a floating-point constant in C++. As a result, it is assumed that 2.5 is a floating point number. Even if the number to the right of the decimal point is 0, this decimal-point rule holds. As a result, 3.0 is also a floating point number.