Question: Exercise 2. Create a program to handle a chat queue. The following descriptions are the basic information of the chat queue. 1. There are 3

 Exercise 2. Create a program to handle a chat queue. The

Exercise 2. Create a program to handle a chat queue. The following descriptions are the basic information of the chat queue. 1. There are 3 queue servers. 2. Maximum size of each queue is 5. 3. A customer is randomly added to the server up to the maximum size of the server. 4. If all servers are at maximum size, new queue will be created and all new customer will be added to the new queue. Customer from the queue will be added to the server that is less than the maximum size. 5. Simulate 100 customers for this chat queue

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!