The problem for the Case Study states that the readings are on a file. They could equally well have been entered from the keyboard. Change the revised program so that the values are entered in real time.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.