
- C++ Basics
- C++ Home
- C++ Overview
- C++ Environment Setup
- C++ Basic Syntax
- C++ Comments
- C++ Data Types
- C++ Variable Types
- C++ Variable Scope
- C++ Constants/Literals
- C++ Modifier Types
- C++ Storage Classes
- C++ Operators
- C++ Loop Types
- C++ Decision Making
- C++ Functions
- C++ Numbers
- C++ Arrays
- C++ Strings
- C++ Pointers
- C++ References
- C++ Date & Time
- C++ Basic Input/Output
- C++ Data Structures
- C++ Object Oriented
- C++ Classes & Objects
- C++ Inheritance
- C++ Overloading
- C++ Polymorphism
- C++ Abstraction
- C++ Encapsulation
- C++ Interfaces
C++ program to convert Fahrenheit to Celsius
In this program we will see how to convert Celsius to Fahrenheit using C++. As we know the formula is simple.
Algorithm
Begin Take the Celsius temperature in C calculate F = (9C/5)+32 return F End
Example Code
#include<iostream> using namespace std; main() { float f, c; cout << "Enter temperature in Celsius: "; cin >> c; f = (9.0*c/5.0)+32; cout << "Equivalent Fahrenheit temperature is: " << f; }
Output
Enter temperature in Celsius: 37 Equivalent Fahrenheit temperature is: 98.6
- Related Articles
- C# Program to Convert Fahrenheit to Celsius
- Convert Fahrenheit to Celsius using C Program
- How to convert Celsius to Fahrenheit and Fahrenheit to Celsius?
- How to convert Fahrenheit into Celsius and, Celsius into Fahrenheit ?
- How to convert Celsius into Fahrenheit?
- C# Program to perform Celsius to Fahrenheit Conversion
- How to Convert Celsius To Fahrenheit using Python?
- Program for Fahrenheit to Celsius conversion in C
- Program for Celsius To Fahrenheit conversion in C++
- Write a program in Python Pandas to convert a dataframe Celsius data column into Fahrenheit
- How to Convert Temperature Units between Celsius, Kelvin and Fahrenheit in Excel?
- Relation Between Celsius and Fahrenheit
- What is the formula to convert temperature in the Fahrenheit scale to the Centigrade or Celsius scale?
- Explain the conversion of Celsius and Fahrenheit.
- Program for Fahrenheit to Kelvin conversion in C++

Advertisements