Question
*URGENT*URGENT*URGENT*URGENT* Write a python program to produce a table of temperatures expressed in Celsius and Fahrenheit units for any days to weekend. Program TempTable outputs
*URGENT*URGENT*URGENT*URGENT*
Write a python program to produce a table of temperatures expressed in Celsius and Fahrenheit units for any days to weekend. Program TempTable outputs a table of Celsius temperatures and the corresponding Fahrenheit values. The Celsius temperature starts at 0C. Within the loop, the Fahrenheit value is computed, both the Celsius and Fahrenheit values are written as integers, and the Celsius value is increased by sum of 10 and day to get the next temperature. The looping continues while the Celsius value is less than or equal to 100, and it stops when Celsius exceeds 100. This loop again starts for next day until first loop exceeds 7.
SAMPLE OUTPUT:
Enter day of the week: 6 TEMPERATURE of 6 day Celsius Fahrenheit 0 32.0 16 60.8 32 89.6 118.4 64 147.2 80 176.0 96 204.8 TEMPERATURE of 7 day Celsius Fahrenheit 0 32.0 48 17 62.6 34 93.2 51 123.8 154.4 68 85 185.0 Enter day of the week: 5 TEMPERATURE of 5 day Celsius Fahrenheit 0 32.0 15 59.0 30 86.0 45 113.0 60 140.0 75 167.0 194.0 TEMPERATURE of 6 day Celsius Fahrenheit 0 32.0 90 60.8 16 32 89.6 48 118.4 64 147.2 80 176.0 96 204.8 TEMPERATURE of 7 day Celsius Fahrenheit 0 32.0 17 62.6 34 93.2 51 123.8 68 154.4 185.0 85Step 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