Answer to Question #42153 in C++ for CHEONG CHENG YEE

Question #42153
Consider the following situation - checkout line in a counter. The details are shown as below:
i. One check-out line
ii. The serving time for every customer is one minute but they may have to wait in line before being served
iii. The customers between zero and five will join the line
iv. Simulate the flow of the customers
Write pseudocode that simulates the flow of the customers through the line during a time period n minutes long. [Hint: You need to use First-In-First-Out queue implementation. If you make any assumption, please justify/describe it].
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS