Q1. Write a menu driven program for checkout lines in a supermarket, Using

Queue data structure and Queue Simulation concepts. Create varied lines of
servers depending on the user input initially. Display the queue of each
server along with the customers in the queue. You can simulate addition of
a customer in a queue using a special key press.
You can either randomly assign customer to a queue or determine a method by
which customers decide which queue to join. The servers are supposed to
take random amounts of time to process each customer (depending upon the
amount of groceries a customer may have). Once checked out a customer is
removed from the line.
For simplicity, simulate the passing of time by pressing another special
key.

Sir,i need only algorithm ,so that i can start..

Similar Questions
  1. Read the following description of a data set.Monica wants to figure out how long it usually takes to get through a supermarket
    1. answers icon 1 answer
    1. answers icon 0 answers
  2. Question 2/3What is the difference between a stack and a queue in data structures? A stack is a last-in-first-out (LIFO) data
    1. answers icon 1 answer
    1. answers icon 0 answers
more similar questions