Question: In pythone language please A small grocery store has one checkout. You have been asked to write a program to simulate the grocery store as

In pythone language please

In pythone language please A small grocery store has one checkout. You

A small grocery store has one checkout. You have been asked to write a program to simulate the grocery store as it checks out customers. YOU ARE REQURED TO USE A QUEUE TO SOLVE THE PROBLEM. The queue program (qu.py) is located on the Instructor drive. Here are some guidelines: 1. A customer gets to the checkout every 1-5 minutes 2. The checker can process one customer every 5 - 15 minutes (depends on how many groceries customer has 10 items or less will take 5 minutes, 11- 20 items will take 6 10 minutes, more 3. The program should find the average wait time for customers and the number of customers left 4. Use the random number generator to get values for when customers get to the checkout and 5 You are not required to use classes, but it might make things easier than 20 items will take 11 - 15 minutes-you will need two random numbers) in the queue how long the checker will take

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!