Introduction
In this blog, we will discuss the solution to the problem of converting Fahrenheit to Celsius. We will code the solution to this problem in C language. But before discussing the solution to this problem, we should first try to understand the context of Fahrenheit and Celsius. After that, we will look at the conversion of Celsius to Fahrenheit.

As we all know, temperature measures the degree of hotness and coldness. Celsius and Fahrenheit are both units of temperature used to measure the temperature. Celsius is also known as centigrade, and most countries use it. On the other hand, Fahrenheit is majorly used by the United States. Celsius is represented by °C, and Fahrenheit is represented by °F. Now, we should look at the conversion formula from Fahrenheit to Celsius.

Fahrenheit to Celsius and Celsius to Fahrenheit Conversion Formulas
Temperature conversion between Fahrenheit and Celsius is a common task. Below are the formulas and their explanations:
1. Fahrenheit to Celsius Formula
C=5/9×(F−32)
2. Celsius to Fahrenheit Formula
F=(C×9/5)+32
These formulas are widely used in applications requiring temperature conversions, such as weather programs or scientific computations.
Sample Examples
Example 1:
Input:
F (Temperature in Fahrenheit) = 32
Output
0 degrees in Celsius
Explanation
(32-32) * (5/9)= 0 *(5/9) = 0
Example 2:
Input:
F (Temperature in Fahrenheit) = 50
Output:
10 degrees in Celsius
Explanation
(50-32) * (5/9) = 18 * (5/9) = 10
You can also read about dynamic array in c and C Static Function.