Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Develop, compile and run using Python compiler. Question Code #003 Write a python program to produce a table of temperatures expressed in Celsius and Fahrenheit
Develop, compile and run using Python compiler.
Question Code #003 Write a python program to produce a table of temperatures expressed in Celsius and Fahrenheit units for any days to weekend. Program Temp Table 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 program run #1 Enter day of the week: 6 TEMPERATURE of 6 day Celsius Fahrenheit 0 32.0 16 60.8 32 89.6 48 118.4 64 147.2 80 176.0 204.8 TEMPERATURE of 7 day Fahrenheit Sample program run #1 Enter day of the week: 6 TEMPERATURE of 6 day Celsius Fahrenheit 0 32.0 16 60.8 32 89.6 48 118.4 147.2 64 80 176.0 96 204.8 7 TEMPERATURE of Celsius 0 17 day Fahrenheit 32.0 62.6 93.2 123.8 154,4 185.0 34 51 68 85 Sample program run Sample program run #2 Enter day of the week: 5 TEMPERATURE AF 5 day Celsius Fahrenheit 0 32.0 15 59.0 30 86.0 45 113.0 60 140.0 75 167.0 90 194,0 TEMPERATURE of 6 day Celsius Fahrenheit 0 32,0 60,8 32 89.6 48 118,4Step 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