The Bank of EE160 manager wants to start tracking the teller line movements to gain insight into when the busiest and least busiest times are for the bank. This information can eventually help the manager schedule the right number of tellers to handle the volume of customers. As a first step, the program needs to model the behavior of the teller lines. Write a program that allows the manager enter in the customer id to add the customer to the line, 0 to remove the first customer from the line, and -1 to quit the program. The program also prints out the status of the line after each command entered by the manager.
What is the problem asking for?
A program that keeps track of a teller line based on input from the manager. The program prints out the status of the line after each input from the manager.
- input:
- manager input (integer)
- output:
- the status of the line