# Data structure

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..

1. 👍 0
2. 👎 0
3. 👁 56

## Similar Questions

1. ### programming concepts

Write a menu driven program using a conditional structure.

asked by Anonymous on August 3, 2013
2. ### computer simulation

A grocery store has three checkout lanes (checkout 1, 2, and 3), each with a single checker. Shoppers arrive at the checkout area with interarrival times having an exponential distribution with mean 2.4 minutes. The shoppers enter

asked by emmanuel on December 9, 2015
3. ### Algebra

Select Yes or No to state whether each data set is likely to be normally distributed. Please help! the number of coupons used at a supermarket. --> I believe YES. the weights of the pumpkins that are delivered to a supermarket.

asked by Sean on May 30, 2018
4. ### Operations management

At a major supermarket, checkout time is monitored to improve service quality. For six days, samples each with 20 observations have been obtained, and the following table summarizes the data. Determine if the checkout process is

asked by Ashley on February 13, 2012
5. ### Embedded Software

How would you write a linux program to read data from a joystick, and turn that data into a command that is pushed onto the queue?

6. ### Computers

How would you write a linux program to read data from a joystick, and turn that data into a command that is pushed onto the queue?

7. ### Computers

I asedthi question areay, but I accidentally wrote in linux rather than in C. How would you write a C program to read data from a joystick, and turn that data into a command that is pushed onto the queue?

8. ### Computing

Write a program that displays the following menu: 1 = Square 2 = Circle 3 = Ellipse 4 = End program When the user selects a shape from the menu, the program should ask for any necessary data, either: the length of the square’s

asked by CAMMY on November 18, 2012
9. ### Programming concepts

Develop a menu-driven program that inputs two numbers and, at the user’s option, finds their sum, difference, product, or quotient. top-down modular approach and pseudocode to design a suitable program to solve it. I am having

asked by Aaron on August 1, 2014
10. ### computer programming

Develop a menu-driven program that inputs two numbers and, at the user's option, finds their sum, difference, product, or quotient.

asked by Georgette on February 7, 2014

More Similar Questions