Temperature
Write a program that will prompt the user for a temperature in Fahrenheit and then convert it to Celsius. You may recall that the formula is C = 5 ∗ (F − 32)/9.
Modify the program to state whether or not water would boil at the temperature given. Your output might look like the following.
f=int(input(“Give me the temperature in Farenheit that you want to convert to Celsius: “))
c= 5*(f-32)/9
print(“The temperature in Celsius is: “, int(c))
if c>=100:
print (“Water boils at this temperature.”)
else:
print (“Water doesn’t boil at this temperature.”)
#WSQ05 by Luis Vargas is licensed under a Creative Commons Attribution 4.0 International License.