Packaging TeX Live For MSYS2

Convert celcius to farenheit

Convert Celsius to Fahrenheit

Convert Celsius to Fahrenheit

Coding:


#Celsius to farenheit
c=float(input('Enter temperature in Celsius (C):'))#int can also be used instead of float
ce=((c*9)/5)+32
print('The above temperature in Fahrenheit is %s F'%ce)


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

Related post: 

Convert Fahrenheit to Celcius

Comments

Post a Comment