Checkout line simulation.
Write a program that simulates the minute-by-minute operation of a checkout line, such as one you might find
in a retail store. Use the following parameters:
Customers arrive at the checkout line and stand in line until the cashier is free.
When they reach the front of the line, they occupy the cashier for some period of time (referred to as
ServiceTime) measured in minutes.
After the cashier is free, the next customer is served immediately.
Customers arrive at the checkout line at ArrivalRate per minute. Use the function included below
(customerArrived()) to return the number of customers arriving in a given minute, determined randomly.
The line can only hold so many people, MaxLineSize, until new arriving customers get frustrated and leave the
store without purchasing anything.
The post Checkout line simulation first appeared on COMPLIANT PAPERS.