Write a program that simulates a supermarket with a number of checkouts. Checkouts in a linked list, and each fund has in turn a queue consisting of a linked list of customers. Service time for a customer randomly using the boundary and is assumed to be rectangular distributed in the range [30.150] (OK, that persist can run with exponential instead). A simple model for how often customers arrive is the following: Every minute will be n customers where n is 0, 1, 2, 3 or 4 with equal probability. (the ambitious using the Poisson distribution instead). Each new arrival customer goes into the currently shortest queue. Use a simple status printout showing the number of customers in each queue. The number of customers served and the average waiting time for each cash may also be interesting to see. As an alternative to the linked list in the implementation can be vectors (vector or array) to be used. In this case, the allocation be dynamic and the number of funds determined at runtime.
And i allready have the code with list i want the code with vectors or deque.
Hello, I am expert and dedicated in C++ Development.I am very much interested for your project. I can complete your project quickly and efficiently in time. Details will be discussed in the message.
I am working mostly with C/C++(6 years)- STL included. I have strong skills in Algorithms and Data Structures mostly because during highschool I participated to Olympiads and Computer Science contests where I won prizes at national and regional level.
We are freelance software developers. If you contact me I can give a quote for your project and we can discuss the details. The Administrator removed this message for containing contact details which breaches our Terms of Service