Packaging TeX Live For MSYS2

Convert Fahrenheit to Celcius

Convert Fahrenheit to Celcius 

Convert Fahrenheit to Celcius

Coding:


#farenheit to celsius
f=float(input('Enter temperature in Fahrenheit (F):'))
fe=((f-32)*5)/9
print('The above temperature in Celsius (C) is',fe,' C')

Here the program asks input in Fahrenheit and returns the answer in Celcius. A simple program to do so.

Related post: 

Convert Celsius to Fahrenheit

Comments