Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 1 Who is going in lane 1?: Sam successfully added to the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 2 Who is going in lane 2?: Paul successfully added to the lane 2 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 2 Who is going in lane 2?: George successfully added to the lane 2 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 2 Who is going in lane 2?: Ringo successfully added to the lane 2 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 5 Sam Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 6 Paul,George,Ringo Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 9 Comparison of queues: lane 1 < lane 2: 1 lane 1 > lane 2: 0 lane 1 >= lane 2: 0 lane 1 <= lane 2: 1 lane 1 == lane 2: 0 lane 1 != lane 2: 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 3 Sam is at the front of the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 7 Sam checked out from lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 3 Exception: Peak attempted on empty queue Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 1 Who is going in lane 1?: Frodo successfully added to the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 1 Who is going in lane 1?: Gandalf successfully added to the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 1 Who is going in lane 1?: Hamburgler successfully added to the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 1 Who is going in lane 1?: Chewbacca successfully added to the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 1 Who is going in lane 1?: R2D2 successfully added to the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 1 Who is going in lane 1?: IG88 successfully added to the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 1 Who is going in lane 1?: PacMan successfully added to the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 1 Who is going in lane 1?: Dave successfully added to the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 3 Frodo is at the front of the lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 4 Paul is at the front of the lane 2 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 5 Frodo,Gandalf,Hamburgler,Chewbacca,R2D2,IG88,PacMan,Dave Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 6 Paul,George,Ringo Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 7 Frodo checked out from lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 7 Gandalf checked out from lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 7 Hamburgler checked out from lane 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 5 Chewbacca,R2D2,IG88,PacMan,Dave Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 6 Paul,George,Ringo Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 9 Comparison of queues: lane 1 < lane 2: 0 lane 1 > lane 2: 1 lane 1 >= lane 2: 1 lane 1 <= lane 2: 0 lane 1 == lane 2: 0 lane 1 != lane 2: 1 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 4 Paul is at the front of the lane 2 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 2 Who is going in lane 2?: Groot successfully added to the lane 2 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 2 Who is going in lane 2?: Rocket successfully added to the lane 2 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 2 Who is going in lane 2?: Gamora successfully added to the lane 2 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 2 Who is going in lane 2?: Drax successfully added to the lane 2 Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 6 Paul,George,Ringo,Groot,Rocket,Gamora,Drax Select an action: 1) Add to check out lane 1 2) Add to check out lane 2 3) See who is at the front of lane 1 4) See who is at the front of lane 2 5) Print all names in lane 1 6) Print all names in lane 2 7) Check out a customer in lane 1 8) Check out a customer in lane 2 9) Compare Queues 10) Quit Enter choice: You chose: 10 Program ending