Question: in Java i. Provide the menu as shown below. Run the program in a loop; stop when user opts 4. ii. Use your own singly
in Java
i. Provide the menu as shown below. Run the program in a loop; stop when user opts 4. ii. Use your own singly linked list [Lab 08, Exercise 5] of nodes with info requestID and prio iii. Add a customer should input priority (0 to 10) from user and enqueue it in the priority que iv. Remove a customer should dequeue a customer with highest priority. v. Show the queue should display the queue using the method printQueue()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
