A project currently underway at Chemical Labs, Inc requires that a substance be continued ally 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 degree Celsius, then the technician does nothing. However, if the temperature is greater than 102.5 degrees Celsius, the technician must turn down the vat's thermostat, wait 5 minutes, and check the temperature again. The technician repeats these step until the temperature does not exceed 102.5 degree Celsius. The director ofengineering department has asked you as a programmer to writes a program that guides the technician through this process. a) Write the flow chart that can be use to write the program. b) Do a program as request from the director. The expected output should be like this: Enter the substance's temperature (in Celsius): 104.7 [Enter] The temperature is TOO HIGH. Turn the thermostat down and WAIT for 5 minutes. Then take the temperature again and enter it here: 102.3 [Enter] The temperature is OK. Come back in 15 minutes. Press any key to continue Enter the substance's temperature (in Celsius): 101.7 [Enter] The temperature is OK. Come back in 15 minutes. Press any key to continue

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter10: Classes And Data Abstraction
Section: Chapter Questions
Problem 19PE
icon
Related questions
Question
A project currently underway at Chemical Labs, Inc requires that a substance be continued
ally 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 degree Celsius, then the technician
does nothing. However, if the temperature is greater than 102.5 degrees Celsius, the
technician must turn down the vat's thermostat, wait 5 minutes, and check the temperature
again. The technician repeats these step until the temperature does not exceed 102.5
degree Celsius.
The director of engineering department has asked you as a programmer to writes a program
that guides the technician through this process.
a) Write the flow chart that can be use to write the program.
b) Do a program as request from the director.
The expected output should be like this:
Enter the substance's temperature (in Celsius): 104.7 [Enter]
The temperature is TOO HIGH.
Turn the thermostat down and WAIT for 5 minutes.
Then take the temperature again and enter it here: 102.3 [Enter]
The temperature is OK. Come back in 15 minutes.
Press any key to continue
~~
Enter the substance's temperature (in Celsius): 101.7 [Enter]
The temperature is OK. Come back in 15 minutes.
Press any key to continue
Transcribed Image Text:A project currently underway at Chemical Labs, Inc requires that a substance be continued ally 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 degree Celsius, then the technician does nothing. However, if the temperature is greater than 102.5 degrees Celsius, the technician must turn down the vat's thermostat, wait 5 minutes, and check the temperature again. The technician repeats these step until the temperature does not exceed 102.5 degree Celsius. The director of engineering department has asked you as a programmer to writes a program that guides the technician through this process. a) Write the flow chart that can be use to write the program. b) Do a program as request from the director. The expected output should be like this: Enter the substance's temperature (in Celsius): 104.7 [Enter] The temperature is TOO HIGH. Turn the thermostat down and WAIT for 5 minutes. Then take the temperature again and enter it here: 102.3 [Enter] The temperature is OK. Come back in 15 minutes. Press any key to continue ~~ Enter the substance's temperature (in Celsius): 101.7 [Enter] The temperature is OK. Come back in 15 minutes. Press any key to continue
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole