please hellllp !! how to do this program ???

The queue element should represent a customer at a bank. You will define the class bankCustomer to include a customer’s name, transaction type (withdrawal or deposit) and amount. Include operators to read and write customers in the class. After every five customers are processed, display the size of the queue and the names of the customers who are waiting. You will include functions that correspond to the following events: arrive(), depart() and display_queue(). At the end of the day (6 hours) you will display the total number of customers, transactions (of each type), average waiting time and total amounts handled.

Topic archived. No new replies allowed.