WAP to obtain temperature in Celsius and convert it into Fahrenheit using formula. °C×9/5+32=°F
#celsius to fahrenheit
Cels= float(input("Enter temp in Celsius:"))
Print(" Temperature in Celsius is:",Cels)
Fahr=Cels×9/5+32
Print("Temperature in Fahrenheit is:",Fahr)
Comments
Post a Comment