write a program to assign temperature in Fahrenheit and convert temperature into Celsius using following formula
C5/9*(f-32)
Answers
Answered by
0
Answer:
Python Code:
upper() == "C": result = int(round((9 * degree) / 5 + 32)) o_convention = "Fahrenheit" elif i_convention. upper() == "F": result = int(round((degree - 32) * 5 / 9)) o_convention = "Celsius" else: print("Input proper convention.") quit() print("The temperature in", o_convention, "is", result, "degrees
Similar questions