Answered step by step
Verified Expert Solution
Question
1 Approved Answer
the program needs to be in the python language of programming ALL CODE MUST CONTAIN 3 COMMENTS AT THE TOP: # Your Name # CSP
the program needs to be in the python language of programming
ALL CODE MUST CONTAIN 3 COMMENTS AT THE TOP: # Your Name # CSP 17 # Assignment name A short video that might help with this assignment Celsius to Fahrenheit Write a program which: 1. Prompts the user to enter a Celsius temperature 2. Convert the temperature to Fahrenheit 3. Print out "The Celsius temperature of ?? is same as the Fahrenheit temperature of ??" - you replace the "??" in that statement with the Celsius value entered by the user, and the calculated Fahrenheit value. You must use a formula and code that formula in Python. The formula to convert Celsius to Fahrenheit is: FahrenheitTemp = CelsuisTemp x 9/5 + 32 REMEMBER: Use variable names that make sense. Also - print statements can look something like: print('This is one part of output', variable1, 'Then another part of output, anotherVariable) Make sure you use parenthesis to ensure proper sequence of execution. Test your code by entering 0 (Celsius temp), which should convert to 32 Fahrenheit - your output statement MUST have the format: The Celsius temperature of O is the same as the Fahrenheit temperature of 32 BUT...your print statement MUST state the Celsius temperature entered by the user, by using the appropriate variable, and the Fahrenheit temperature, which is the variable containing the value calculated by your code. DO NOT put the numerical values into your print statement as numerals - use the variablesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started