# convert.py # A program to convert Celsius temps to Fahrenheit # by: Susan Computewell # Date: # CS170 Lab 02 def main(): # Ask the user for the input celsius temperature. celsius = float(input("What is the Celsius temperature? ")) # Calculate the equivalent fahrenheit temperature. fahrenheit = (9.0 / 5.0) * celsius + 32 # Print the results. print ("The temperature is", fahrenheit, "degrees Fahrenheit.") main()