100 or VFQ: View all Queues. The queues need to be printed in the below format.…
- User
100 or VFQ: View all Queues. The queues need to be printed in the below format.
- Cashiers *
O O O O X X X X X X X – Not Occupied O – Occupied 101 or VEQ: View all Empty Queues. 102 or ACQ: Add customer to a Queue. 103 or RCQ: Remove a customer from a Queue. (From a specific location) 104 or PCQ: Remove a served customer. 105 or VCS: View Customers Sorted in alphabetical order (Do not use library sort routine) 106 or SPD: Store Program Data into file. 107 or LPD: Load Program Data from file. 108 or STK: View Remaining burgers Stock. 109 or AFS: Add burgers to Stock. 999 or EXT: Exit the Program. Display all the menu options to the operator, When the operator types 102 or ACQ, it should do the add method. When the operator types 103 or RCQ, it should do the remove method. Task 2. Classes version. Create a second version of the Foodie Fave queue management system using an array of FoodQueue Objects. The Class version should be able to manage 3 Queues parallelly. Create a class called FoodQueue and another class called Customer. The program should function as in Task 1. Each queue can hold up to 2,3,5 customers respectively with the following additional information. i. First Name. ii. Second Name. iii. No. of burgers required. Note: In class version, add customer to the queue (102 or ACQ) option must select the queue with the minimum length. Add an additional option to the menu. ‘110 or IFQ’ that will give the user the option to print the income of each queue. (You can take the price of a burger as 650). Otherwise, the program should function as in Task 1.
I want do task 2 using java just show strcture and classes
- Assistant