Simulation of bank calling system [Problem Description] Using linear list to simulate the bank's queuing business model [Basic Requirements] 1) Suppose that the working hours of the bank are from 9...


Simulation of bank calling system
[Problem Description]
Using linear list to simulate the bank's queuing business model
[Basic Requirements]
1)      Suppose that the working hours of the bank are from 9 a.m. to 5 p.m
2)      The time when customers arrive at the bank is generated randomly, and the customers are queued in the order of arrival. The time required for each customer to handle business can also be generated randomly, no more than 30 minutes. If the randomly generated time length is 0, it indicates that the customer leaves early and does not handle business.
3)      When the program is running, input the number of bank windows, and then output the basic information of each customer's business in the bank according to the randomly generated customer data (arrival time, time required for business), including: customer arrival time, customer waiting time, what time the customer handled business in which window, and how long the business lasted. From this, we can observe the average waiting time of customers and the daily reception volume of banks when the number of windows is fixed.
This topic is composed of 4 parts, i.e. algorithm design, annotated source code, program running results and summary.
(1).   Algorithm design: The required data structure is designed, the algorithm idea and algorithm steps are given, and the time complexity of the algorithm is analyzed.
(2).   Annotated source code: Paste the source code, preferably annotate the code.

(3).   Program run results: Paste the running result screenshot of the source code.
(4).   Summary: Summarize what kinds of problems you encounter during the course of implementation and how to take the solutions etc. please i need the above topic program in C or C++

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here