Part 3: First-In-First-Out (FIFO) Create a program that will simulate a First-In-First-Out process in a drive through take-out service. The program will display the following option (see table 1) for...


IT IS COMPLETE, PLEASE HELP EXPERTS


Part 3: First-In-First-Out (FIFO)<br>Create a program that will simulate a First-In-First-Out process in a<br>drive through take-out service.<br>The program will display the following option (see table 1) for the user<br>to choose. The program will continue to iterate select an option until the<br>user selected the option q (Quit) to end the run time.<br>Table 1:<br>Option<br>Function<br>The program will ask the user to input a<br>Plate Number and a list of Orders<br>(en) Enter<br>Add the inputted data at the queue (meaning,<br>at end of the array)<br>The program will display the least recently<br>added data (plate number and the list of<br>orders).<br>Display 'No Queue' if the array is empty.<br>The program will display all plate numbers<br>in queue.<br>Display 'No Queue' if the array is empty.<br>Remove the least recently added data<br>(meaning the first data in the array)<br>The program will display 'Plate Removed'<br>(wn) Who's Next<br>(sa) Show Al1<br>(ex) Exit<br>Display 'Nothing to Exit' if the array is<br>(q) Quit<br>empty.<br>End the runt ime/Exit.<br>Requirements:<br>• Your Program should contain two (2) or more methods.<br>You can only use a Java Array []. Using of Java Collection is not<br>allowed.<br>• Display an error message if any possible errors.<br>

Extracted text: Part 3: First-In-First-Out (FIFO) Create a program that will simulate a First-In-First-Out process in a drive through take-out service. The program will display the following option (see table 1) for the user to choose. The program will continue to iterate select an option until the user selected the option q (Quit) to end the run time. Table 1: Option Function The program will ask the user to input a Plate Number and a list of Orders (en) Enter Add the inputted data at the queue (meaning, at end of the array) The program will display the least recently added data (plate number and the list of orders). Display 'No Queue' if the array is empty. The program will display all plate numbers in queue. Display 'No Queue' if the array is empty. Remove the least recently added data (meaning the first data in the array) The program will display 'Plate Removed' (wn) Who's Next (sa) Show Al1 (ex) Exit Display 'Nothing to Exit' if the array is (q) Quit empty. End the runt ime/Exit. Requirements: • Your Program should contain two (2) or more methods. You can only use a Java Array []. Using of Java Collection is not allowed. • Display an error message if any possible errors.
Sample Output:<br>Select an Option<br>(en) Enter<br>(wn) Who's Next<br>(sa) Show All<br>(ex) Exit<br>(q)<br>Quit<br>>> en<br>Enter Plate Number: ABc-897<br>Enter Orders: Chicken Joy, Big Boy Burger, Ice Coffee<br>Select an Option<br>(en) Enter<br>(wn) Who's Next<br>(sa) Show All<br>(ex) Exit<br>(q) Quit<br>>> en<br>Enter Plate Number: zzx-9388<br>Enter Orders: Dinuguan, Shang-Hai, Sky Flakes, Orange Juice<br>Select an Option<br>(en) Enter<br>(wn) Who's Next<br>(sa) Show All<br>(ex) Exit<br>Quit<br>(q)<br>>> wn<br>ABC-897 (Chicken Joy, Big Boy Burger, Ice Coffee)<br>Select an Option<br>(en) Enter<br>(wn) Who's Next<br>(sa) Show All<br>(ex) Exit<br>Quit<br>(q)<br>>> ex<br>Plate Removed<br>Select an Option<br>(en) Enter<br>(wn) Who's Next<br>(sa) Show All<br>(еx) Еxie<br>Quit<br>(g)<br>>> en<br>Enter Plate Number: zzx-1001<br>Enter Orders: Chocolate Drink<br>Select an Option<br>(en) Enter<br>(wn) Who's Next<br>(sa) Show All<br>(ex) Exit<br>Quit<br>(q)<br>>> wn<br>22x-9388 (Dinuguan, Shang-Hai, Sky Flakes, Orange Juice)<br>Select an Option<br>(en) Enter<br>(wn) Who's Next<br>(sa) Show All<br>(еx) Еxit<br>Quit<br>(q)<br>>> sa<br>1. zzx-9388 (Dinuguan, Shang-Hai, Sky Flakes, Orange Juice)<br>2. zzx-1001 (Chocolate Drink)<br>Select an Option<br>(en) Enter<br>(wn) Who's Next<br>(sa) Show All<br>(ex) Exit<br>(q)<br>Quit<br>bes<br>

Extracted text: Sample Output: Select an Option (en) Enter (wn) Who's Next (sa) Show All (ex) Exit (q) Quit >> en Enter Plate Number: ABc-897 Enter Orders: Chicken Joy, Big Boy Burger, Ice Coffee Select an Option (en) Enter (wn) Who's Next (sa) Show All (ex) Exit (q) Quit >> en Enter Plate Number: zzx-9388 Enter Orders: Dinuguan, Shang-Hai, Sky Flakes, Orange Juice Select an Option (en) Enter (wn) Who's Next (sa) Show All (ex) Exit Quit (q) >> wn ABC-897 (Chicken Joy, Big Boy Burger, Ice Coffee) Select an Option (en) Enter (wn) Who's Next (sa) Show All (ex) Exit Quit (q) >> ex Plate Removed Select an Option (en) Enter (wn) Who's Next (sa) Show All (еx) Еxie Quit (g) >> en Enter Plate Number: zzx-1001 Enter Orders: Chocolate Drink Select an Option (en) Enter (wn) Who's Next (sa) Show All (ex) Exit Quit (q) >> wn 22x-9388 (Dinuguan, Shang-Hai, Sky Flakes, Orange Juice) Select an Option (en) Enter (wn) Who's Next (sa) Show All (еx) Еxit Quit (q) >> sa 1. zzx-9388 (Dinuguan, Shang-Hai, Sky Flakes, Orange Juice) 2. zzx-1001 (Chocolate Drink) Select an Option (en) Enter (wn) Who's Next (sa) Show All (ex) Exit (q) Quit bes
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here