Hi All need help with designing this progam using loops in Python. Question is as follows: 1.) A project at Chemical Labs Inc., requires that a substance be continually heated in a vat. A technician must check the substance's temperature every 15 minutes. If the substance's temperature does not exceed 102.5, then the technician does nothing. However, if the temperature does exceed 102.5, the technician must turn down the vat's thermostat, wait 5 minutes, and check the temperature again. The technician must repeat these steps until the temperature does not exceed 102.5 The director has asked you to design a program to guide the technician through this process. Algorithm: 1.) Get the substance's temperature. 2.) Repeat the following steps as long as the temperature is greater than 102.5:
Hi All need help with designing this progam using loops in Python.
Question is as follows:
1.) A project at Chemical Labs Inc., requires that a substance be continually heated in a vat. A technician must check the substance's temperature every 15 minutes. If the substance's temperature does not exceed 102.5, then the technician does nothing. However, if the temperature does exceed 102.5, the technician must turn down the vat's thermostat, wait 5 minutes, and check the temperature again. The technician must repeat these steps until the temperature does not exceed 102.5 The director has asked you to design a program to guide the technician through this process.
1.) Get the substance's temperature.
2.) Repeat the following steps as long as the temperature is greater than 102.5:
a.) Tell the technician to turn down the thermostat, wait five minutes, and check the temperature again.
b.) Get the substance's temperature.
3.) After the loop finishes, tell the technician that the temperature is acceptable and to check it again in 15 minutes.
All programming is in Python, and a loop must be used. A flowchart is needed as well.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 6 images