Answered step by step
Verified Expert Solution
Question
1 Approved Answer
will you help me this in c++? thanks! The simulation should pause after each minute's summary is outputted, enabling the user to press ENTER to
will you help me this in c++? thanks!
The simulation should pause after each minute's summary is outputted, enabling the user to press ENTER to continue to the next minute. The simulation should end automatically after new arrivals stop arriving and the wait queue has been emptied and all servers become idle Here are the specs: struct customer: (1) an ID tag, (2) arrival time, (3) service end time. The ID tag for the customer is a single letter of the alphabet, A-Z, recursively Customers arrive at the specified average arrival rate from the beginning of the simulation until the specified clock time at which new arrivals stop. After that time there are no new arrivals, but the simulation continues, allowing the wait queue to empty and the servers to become idle Create the nowServing array of customer objects to represent the customers being served. (removed from the wait queue). Another corresponding array of boolean values, whose value is true if the server at that index position is busy serving a customer, false if the server is idle. (There's more than one way to accomplish this, so use a different way if youStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started