Question: Write a C++ program to do the following: For this project, you will simulate the reception of a bank. You will have customers requesting transactions

Write a C++ program to do the following:

For this project, you will simulate the reception of a bank. You will have customers requesting transactions (open account, deposit money, close account, withdraw money).

You are required to simulate per the following parameters and rules:

Customers coming at random times

Each customer will require random amount of service time

You may have 1-3 tellers based on the # of customers

Once you have more than 4 customers waiting you need to get the 2nd teller

Once you have more than 8 customers waiting you need to get the 3rd teller

Once the line size gets smaller, you should remove the tellers in opposite order of their addition (the last one joining should be the first one leaving)

The reception operates from 10:00 AM until 1:00 PM

At the end of the day, you need to run the following reports:A list of customers coming along with the type of transactions they requested. This report should be sorted by:

Last name of the customer

Amount of money involved

Time of arrival

Average waiting time per customers

Average number of customers waiting

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!