Question: Write a program to display a Celcius to Fahrenheit conversion table for every temperature divisible by 5 within the range read in input. Per
Write a program to display a Celcius to Fahrenheit conversion table for every temperature divisible by 5 within the range read in input. Per example, if the range required is [23;35], the temperatures printed will be 25, 30 and 35. Note: degree F=(9/5) * degree C+32. Hint: use the operator modulo % which return the remainder of a division to determine if the current temperature is divisible by 5. For example: Input start=43 end=51 Answer: Output deg C | deg F 45 50 | 113.00 | 122.00
Step by Step Solution
3.35 Rating (164 Votes )
There are 3 Steps involved in it
Here is the python program together with sample output mainpy ... View full answer
Get step-by-step solutions from verified subject matter experts
