Question: Make improvements to the car wash simulation program from Section 7.2. One particular improvement you should make is to handle the customers who are still
Make improvements to the car wash simulation program from Section 7.2. One particular improvement you should make is to handle the customers who are still in the queue at the end of the simulation. These customers should have their cars washed one after another, but no new customers should be allowed to join the queue during this time. The wait times of these leftover customers should be counted along with all the other customers.
Step by Step Solution
3.55 Rating (172 Votes )
There are 3 Steps involved in it
To handle the customers who are still in the queue at the end of the simulation you can add a loop a... View full answer
Get step-by-step solutions from verified subject matter experts
