Question: 9 . For the output: Each customer process should write three lines to the screen, at the following times: 1 . When they arrive at
For the output: Each customer process should write three lines to the screen, at the following times: When they arrive at the bank and enter the waiting line. When they step up to a teller and start being served. When they finish being served by a teller and leave the bank. Each line consists of the current simulated world time, identifying the customer by number, and the appropriate message. Finally, at the end of the simulation print a summary message, giving: The total number of customers served. The average time spent waiting in line by the customers served. The output of a sample run of the program: Mean interarrival time: Mean service time: Number of tellers: Length of simulation: At time customer arrives in line At time customer starts being served At time customer arrives in line At time customer starts being served At time customer arrives in line At time customer starts being served At time customer leaves the bank At time customer arrives in line At time customer starts being served At time customer leaves the bank At time customer arrives in line At time customer starts being served At time customer arrives in line At time customer arrives in line At time customer leaves the bank At time customer leaves the bank At time customer starts being served At time customer starts being served At time customer leaves the bank
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
