Skip to content

Pro Programming

Professional way of Programming

  • Home
  • C MCQs
  • C/C++
  • Java
  • Python
  • MySQL
  • Online Compiler
  • Topics
    • Arrays
    • Strings
    • Link Lists
    • Trees
    • Shapes
    • Articles
    • Games
    • Projects

Program to convert Fahrenheit to Celsius in C++

Write a program to convert Fahrenheit to Celsius in C++.

This program is really simple we just use the following formula to get the converted temperature.

Celsius = (fahrenheit – 32) / 1.8

PROGRAM:

#include <iostream>
using namespace std;

int main()
{
    float celsius;
    float fahrenheit;

    cout << "Enter Fahrenheit temperature: ";
    cin >> fahrenheit;
    celsius = (fahrenheit-32)/1.8;
    cout << "Temperature in Celsius = " << celsius << endl;

    return 0;
}

 

OUTPUT:

convert fahrenheit to celsius in c++

 

To Convert Celsius to Fahrenheit:

Program to convert Celsius to Fahrenheit

Related Posts:

  • Python Program to Convert Celsius To Fahrenheit
  • Program to convert Decimal to Octal in C++
  • Python Program to Convert Decimal to Binary, Octal and Hexadecimal
  • C++ program to convert decimal to binary
  • Convert a list of multiple integers into single integer Python
  • Java Convert int Array To String Example
  • Convert case of elements in a list of strings Python
  • Convert Octal to Hexadecimal in C++
  • Program to find Perfect Number Program in C++
  • Bank Management System Program in C++
  • C++ Program to Find Even Odd number
  • Program to Check if a number is Palindrome Number C++
  • C Program to print map of India
  • C++ Program to generate CAPTCHA and verify user
  • Elements of Java Program
Categories conversion
Post navigation
Program to convert Celsius to Fahrenheit in C++
Program to implement Queue using Linked List C++

Leave a Comment Cancel reply

Must See Content

  • Python Program to Convert Celsius To Fahrenheit
  • Program to convert Decimal to Octal in C++
  • Python Program to Convert Decimal to Binary, Octal and Hexadecimal
  • C++ program to convert decimal to binary
  • Convert a list of multiple integers into single integer Python
  • Java Convert int Array To String Example
  • Convert case of elements in a list of strings Python
  • Convert Octal to Hexadecimal in C++
  • Program to find Perfect Number Program in C++
  • Bank Management System Program in C++

Recent Comments

  • David Bolton on Last Minute Notes: C and C++
  • Alisha Ross on Some mind blowing facts about Computers
  • Binary Search Tree implementation in C++ - Pro Programming on Program to check if Tree is Binary Search Tree C++
  • C++ program to implement AVL Tree - Pro Programming on Red Black-Tree(RB-Tree) implementation in C++
  • Program to Find Perfect Number in Python - Pro Programming on Program to find Perfect Number Program in C++
  • Email
  • Facebook
  • Twitter

Related Posts:

  • Python Program to Convert Celsius To Fahrenheit
  • Program to convert Decimal to Octal in C++
  • Python Program to Convert Decimal to Binary, Octal and Hexadecimal
  • C++ program to convert decimal to binary
  • Convert a list of multiple integers into single integer Python
  • Java Convert int Array To String Example
  • Convert case of elements in a list of strings Python
  • Convert Octal to Hexadecimal in C++
  • Program to find Perfect Number Program in C++
  • Bank Management System Program in C++

Recent Posts

  • How to use MySQLDump effectively for backups
  • Top 10 Games for Beginners to learn programming the easy way
  • A simple Zombie War Game in C++
  • Mobile Numeric Keypad Problem: Solution in C++
  • Last Minute Notes: C and C++
  • JavatPoint Offline version Download Free
  • How to count number of non repeating digits in a Range C++
  • C++ Program to check if word exists in Grid or not
  • Top Cryptocurrency list of 2021
  • C Program to Implement Coppersmith Freivald’s Algorithm
© 2020 | ProProgramming | About | Contact US | Privacy Policy