(Solved):Supermarket Checkout Simulation Write a program in c++ that simulates a checkout line at a supermarket. Your program should simulate a 12-hour period (720 minutes) and report the statistics reques… View Answer…

 

Question

Supermarket Checkout Simulation

Write a program in c++ that simulates a checkout line at a supermarket. Your program should simulate a 12-hour period (720 minutes) and report the statistics requested below. Build your simulation according to the following assumptions:

– A customer arrives in line every one to four minutes (or there is a 1/4? chance that a customer arrives at any given minute). No more than one customer will arrive at

Scroll to top