Fahrenheit to Celsius Conversion C Program

By | June 18, 2019

This is a C language program for Fahrenheit to Celsius Conversion. It converts Fahrenheit to Celsius using formula:
Celsius = (Fahrenheit – 32) * 5.0 /9.0

/*
Write a C program to Convert Fahrenheit into
Celsius
*/

#include <stdio.h>
int main() { float fahren, celsius; printf("Enter temperature in Fahrenheit="); scanf("%f", &fahren); celsius = (fahren-32)*5.0 / 9.0; printf("%.2f Fahrenheit is equal %.2f in Celsius",fahren,celsius); return 0; }

Convert Fahrenheit to Celsius Easily.

This program takes one input that is temperature in Fahrenheit and converts it into Celsius.

Fahrenheit to Celsius Conversion C Program

You will also like:

Degree Celsius to Fahrenheit conversion program in C language.

Leave a Reply

Your email address will not be published. Required fields are marked *