Question: Exercise 3.1 Queue LineSeparator Instruction 1. Create Classes named: RunnerQ (main method) and POS. 2. Create a program that will let the clerk add
Exercise 3.1 Queue LineSeparator Instruction 1. Create Classes named: RunnerQ (main method) and POS. 2. Create a program that will let the clerk add customers name in the queue. After adding, it will now proceed in getting the customer's order. First come, first serve (refer to figure 3.1). Once the orders have been completed your program should display "No more waiting customers, Press [T] to continue the transaction or [Q] to quit". LineSeparator Customers waiting in line are: [Rommel, Ronz, Chet] Now serving customer no.1 Welcome to Coffee Shop: What is your order? Rommel latte how many? 2 You ordered 2 latte Rommel Please proceed to the waiting area for your order. (Next customer) What is your order? Ronz
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
