Jefferson Community College Jefferson Community College Watertown, NY 13601 Data Structures CIS 250 Spring 2021, Section 1 Laboratory 05 You are the manager of a local restaurant - Poultry-fil-B....

Java code please. The assignment is attached.


Jefferson Community College Jefferson Community College Watertown, NY 13601 Data Structures CIS 250 Spring 2021, Section 1 Laboratory 05 You are the manager of a local restaurant - Poultry-fil-B. Recently, you have received a lot of complaints about drive up service. You have, therefore, decided to create software to log transactions so you can get a better sense. Your restaurant uses a number of physical queue systems to line up customers to be serviced by the drive-through cashier. There are two entry lanes where customers wait to place their order. Once the customer has their order taken, they leave their waiting to place an order queue and enter into the next queue (one per lane). The only difference is the first queue is customers waiting to order and the next is customers who have ordered and are waiting to pay. The next step for customers is to move from the order placed/waiting to pay queue into the paid/waiting for food queue (a single queue). Finally, customers will leave the paid/waiting for food queue and they get to the window to receive their food. The program should run interactively, allowing you to signal the arrival of a customer (entering one of the waiting to order queues), the moving into the waiting to pay/get food queue, the moving into the pay queue, the leaving the pay queue, leaving the window (end of transaction), and the end of the business day (note that all customers still in the queue at closing will still be processed). The program should automatically log the time of arrival, time of order placement, time of paying, and the time that the transaction is completed (use System.currentTimeMillis( )). As the program executes, COMPLETED customer transaction information could be logged to a file to be processed at a later time. When the program finishes, it should display the average wait time for each of the three phases, and all customers processed. The program should include comprehensive error handling throughout. I am expecting bulletproof here folks. Use methods from the ADT specification that we developed in class. You must implement five instances of the FIFO queue. You may make NO changes to the queue ADT. You must also implement a customer class, which is actually the ElementType. DO NOT PROCRASTINATE! Turn in a print-out of inputs, output, and source code. This assignment is due on Friday, April 16th, 2021. Complete Order 1 2 2 1 Jefferson Community College
Apr 15, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here