Programming Examples
Python Program to obtain temperature in Celsius and convert it into Fahrenheit
Write a Program to obtain temperature in Celsius and convert it into Fahrenheit using formula –
C X 9/5 + 32 = F
Solution
c=int(input("Enter the temperature in Celsius:"))
f=(c*9/5)+32
print("Temperature in Fahrenheit: ",f)
Output