Question: Write a program that takes in three arguments, a start temperature (in Celsius), a step size, and end temperature (in Celsius). Print out a
Write a program that takes in three arguments, a start temperature (in Celsius), a step size, and end temperature (in Celsius). Print out a table that goes from the start temperature to the end temperature, in steps of the step size; The leftmost column will indicate the degree in Celsius and the rightmost column should indicate the degree in Fahrenheit. You do not actually need to print the final end temperature if the step size does not exactly match. You should perform input validation: do not accept start temperatures less than a lower limit (which your code should specify as a constant) or higher than an upper limit (which your code should also specify as a constant). Set lower limit to -89.2 Set upper limit to 57.6 Reject input should return the string "ERROR" You should not allow a step size greater than the difference in temperatures.
Step by Step Solution
There are 3 Steps involved in it
Sure heres a Python program that implements the functionality ... View full answer
Get step-by-step solutions from verified subject matter experts
