Question: Write a script that will prompt the user for a temperature in degrees Celsius. Then the program prompts the user with the desired conversion;

Write a script that will prompt the user for a temperature in 

Write a script that will prompt the user for a temperature in degrees Celsius. Then the program prompts the user with the desired conversion; an 'F' for Fahrenheit or 'K' for Kelvin. The script will print the corresponding temperatures in the scale specified by the user. For example, the output might look like this: >>Enter the temp in degrees C: 29.3 >>Do you want K or F? F >>The temp in degrees F is 84.7 >> The format of the output should be exactly as specified. The conversions as follow: C+32 KC+273.15 Write the script using nested if-else statement.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Script in Python that meets the specified requirements using nested ifelse statements Prompt the use... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!