4 Write Program Called Problem4cpp Using Queue Class Discussed Lecture Simulates 10 People Q37137400

4. Write a program called problem4.cpp using the Queue class that we discussed in lecture that simulates a 10 people standing

4. Write a program called problem4.cpp using the Queue class that we discussed in lecture that simulates a 10 people standing in a queue for service. Each person that is removed from queue to get the service has a 50-50 chance of either getting his/her service done (and thus never returning back) or needing extra service and thus joins the queue again. Your program should require no input from the user, and should output the number

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.