Convert Celsius to Fahrenheit in C++

Advertisements

Check Leap Year in C++ Convert Fahrenheit-Celsius in C++

C++ program to Convert Celsius to Fahrenheit

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

Formula

 f = c * 9/5 + 32;
 

Convert Celsius to Fahrenheit in C++


#include<iostream.h>
#include<conio.h>

void main()
{
 float cel, far;
  clrscr();
  cout<<"Enter temp. in Celsius: ";
  cin>>cel;
   far = cel * 9/5 + 32;
  cout<<"Temp. in Fahrenheit: "<<far;
 getch();
}

Output

Enter temp. in Celsius: 36
Temp. in Fahrenheit: 96.000

Check Leap Year in C++ Convert Fahrenheit-Celsius in C++

Advertisements

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

Download Projects

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements