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