Python program to convert the temperature in degree centigrade to Fahrenheit
#Python #program to convert the temperature in degree centigrade to Fahrenheit #question #celsius to fahrenheit python program
We can provide below input
to our python program
Input :
37
Output :
37.00 Celsius is: 98.60 Fahrenheit
c = input(" Enter temperature in Centigrade: ")
f = (9*(int(c))/5)+32
print(" Temperature in Fahrenheit is: ", f)
We can provide input Celsius temperature as from the user, apply the conversion formula of Fahrenheit from Celsius. The relationship between the Celsius scale and the Fahrenheit scale is given by