• A – A customer arrives at the rear of the line. The program will generate a se-quence number and time stamp to identify the customer and the arrival time. It will place them in a queue. • D – A customer departs from the front of the line. The program will display the customer’s ID number and the number of seconds that the customer waited. • C – Close the store. Display on the screen the average waiting time for all the cus-tomers who were served during the simulation, and terminate the simulation. • Any other entry at the command prompt will result in an error message.
Sara3/queue
A – A customer arrives at the rear of the line. The program will generate a se-quence number and time stamp to identify the customer and the arrival time. It will place them in a queue. • D – A customer departs from the front of the line. The program will display the customer’s ID number and the number of seconds that the customer waited. • C – Close the store. Display on the screen the average waiting time for all the cus-tomers who were served during the simulation, and terminate the simulation. • Any other entry at the command prompt will result in an error message
C