Enter temperature in Celsius and convert it into Fahrenheit in Python

Enter temperature in Celsius and convert it into Fahrenheit in Python

Write a program in python to enter temperature in Celsius and convert it into Fahrenheit. 

Note Formula- (C X 9/5) + 32 = F

c=int(input("Enter the temperature in Celsius: "))
f=(c*9/5)+32
print("Temperature in Fahrenheit: ",f)


Output:-

Enter the temperature in Celsius: 36

Temperature in Fahrenheit:  96.8


Post a Comment

0 Comments