Page 1 of 1

In C++ Write a program that simulates a checkout line at a supermarket. The line is a queue object. Customers (i.e. cust

Posted: Tue Jul 12, 2022 8:21 am
by answerhappygod
In C++ Write a program that simulates a checkout line at asupermarket. The line is a queue object. Customers (i.e. customerobjects) arrive in random integer intervals of 1-4 minutes, also,each customer is served in random integers intervals of 1-4minutes. Obviously, the rates need to be balanced. If the averagearrival rate is larger than the average service rate, the queuewill grow infinitely. Even with balanced rates, randomness canstill cause long lines.
Please upload the following: