0% found this document useful (0 votes)
23 views

Convert Fahrenheit To Celsius Using C Program

Uploaded by

harshali shendge
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Convert Fahrenheit To Celsius Using C Program

Uploaded by

harshali shendge
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

 Home  Coding Ground ☀

 

Convert Fahrenheit to
Celsius using C Program
C Server Side Programming Programming

The logic that we implement to convert


Fahrenheit to Celsius is as follows −

celsius = (fahrenheit - 32)*5/9;

Algorithm
Refer to the algorithm given below to convert
Fahrenheit to Celsius.

Step 1: Declare two variables farh, ce


Step 2: Enter Fahrenheit value at run
Step 3: Apply formula to convert
Cels=(farh-32)*5/9;
Step 4: Print cels

Example
Following is the C program to convert
Fahrenheit to Celsius −

Live Demo
#include<stdio.h>
int main(){
float fahrenheit, celsius;
//get the limit of fibonacci series
printf("Enter Fahrenheit:
");
scanf("%f",&fahrenheit);
celsius = (fahrenheit - 32)*5/9;
printf("Celsius: %f
", celsius);
return 0;
}

Output
When the above program is executed, it
produces the following result −

Enter Fahrenheit:

100
Celsius: 37.777779

Bhanu Priya
7 Followers  Follow

Updated on 08-Mar-2021 09:54:38

# 3K+ Views $0 ⎙ Print Article

&   

 Related Articles

C# Program to Convert Fahrenheit to

Celsius

C++ program to convert Fahrenheit to

Celsius

How to convert Celsius to Fahrenheit and

Fahrenheit to Celsius?

How to convert Fahrenheit into Celsius

and, Celsius into Fahrenheit ?

How to Convert Celsius To Fahrenheit

using Python?

How to convert Celsius into Fahrenheit?

C# Program to perform Celsius to

Fahrenheit Conversion

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

Relation Between Celsius and Fahrenheit

Explain the conversion of Celsius and

Fahrenheit.

What is the formula to convert temperature

in the Fahrenheit scale to the Centigrade

or Celsius scale?

What is the difference between the Celsius

and Fahrenheit scales?

Make the following conversions A. 140

degree Fahrenheit into degree celsius B.

303 k into degree Celsius

 Previous Page Next Page 

Advertisements

Annual Membership
Enjoy unlimited access on
5500+ Hand Picked Quality
Video Courses

✓ Subscribe Now

Training for a Team


Affordable solution to train a
team and make them project
ready.

✓ Submit Demo Request

We make use of First and third party cookies to improve


our user +
experience.
About us By using this website,
✓ Refund Policyyou agree
with our Cookies Policy.
✓ Terms of use  Privacy Policy

 FAQ'sAgree
 Contact

© Copyright 2022. All Rights Reserved.


Learn more

You might also like