C++ Programming Code Examples C++ > Conversions Code Examples Convert Fahrenheit to Centigrade Convert Fahrenheit to Centigrade To convert temperature from Fahrenheit to centigrade in C++ programming, you have to ask to the user to enter the temperature in Fahrenheit to convert it into centigrade to display the equivalent temperature value in centigrade as shown here in the following program. Following C++ program ask to the user to enter temperature in Fahrenheit to convert it into Celsius, then display the result on the screen: #include<iostream.h> #include<conio.h> void main() { clrscr(); float fah, cel; cout<<"Enter temperature in Fahrenheit : "; cin>>fah; cel=(fah-32) / 1.8; cout<<"Temperature in Celsius = "<<cel; getch(); }