CSC202 fast food restaurant may not have great food but it p
CSC202 fast food restaurant may not have great food but it prides itself being faster than its major competitors: CSC201, Nandoos, and Taco Tiger. CSC202 requires between 3 and 9 minutes to fill a customer order. On average, a customer arrives at CSC202 every 6 minutes. The manager would like for you to perform a simulation in order to gather statistics about the amount of time customers have to wait between the time they arrive and the time they get their order. For this assignment, You are required to to use a linked list to implement the Queue ADT. In addition, because we just started our business, we assume there is only one person taking orders.
Solution
sample output -
Average wait time on 100 customers who are getting their order punched in 3 minutes with foodpreparing time is 10 minutes is 366.630
Average wait time on 100 customers who are getting their order punched in 4 minutes with foodpreparing time is 10 minutes is 418.140
Average wait time on 100 customers who are getting their order punched in 5 minutes with foodpreparing time is 10 minutes is 469.650
Average wait time on 100 customers who are getting their order punched in 6 minutes with foodpreparing time is 10 minutes is 521.160
Average wait time on 100 customers who are getting their order punched in 7 minutes with foodpreparing time is 10 minutes is 572.670
Average wait time on 100 customers who are getting their order punched in 8 minutes with foodpreparing time is 10 minutes is 624.180
Average wait time on 100 customers who are getting their order punched in 9 minutes with foodpreparing time is 10 minutes is 675.690
