Convert Fahrenheit to Celsius in C++

Prev Tutorial Next Tutorial

C++ Program to Convert Fahrenheit to Celsius

Fahrenheit and Celsius are two unit for measure temperature. We have standard formula to Convert Fahrenheit to Celsius, using this formula we can change temperature.


 c = (f - 32) * 5/9;

Convert Fahrenheit to Celsius in C++


void main()
 float cel, far;
  cout<<"Enter temp. in Fahrenheit: ";
  cel = (far - 32) * 5/9;
  cout<<"Temp. in Celsius: "<<cel;


Enter temp. in Fahrenheit: 98
Temp. in Celsius: 36.666668

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain,, @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: WhatsApp no. 8882538826

Yahoo Advertisements