• 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.
-
Notifications
You must be signed in to change notification settings - Fork 0
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 – …
Sara3/queue
About
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 – …
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published