Question: Write a C + + program ( Using Visual Studio 2 0 2 2 ) to simulate a service desk. This service desk should be
Write a C program Using Visual Studio to simulate a service desk. This service desk should be able to service customers that can have one of three different priorities high medium, and low The duration for any customer is a random number between minutes and minutes
You need to write a program that will do the following:
Generate random service requests.
Each service request can be either high, medium, or low priority. Your program should randomly allocate this priority to each service.
Each service request may need any time to be serviced between and minutes. Your program should randomly allocate this time to each service.
Your program should simulate the case when you have one service station for all customers.
Your program should simulate the case when you have two service stations for these customers.
For each case, output the following statistics:
The number of requests for each priority along with the service time for each request
The waiting time for each service request
The average waiting time for service requests within each priority
You should submit your C source code along with screen shots of sample runs that showed successful runs for the above steps.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
