Question: hi, i need help starting a skeleton for a java code that simulate a checkout at a supermarket , so far i got classes to

hi,

i need help starting a skeleton for a java code that simulate a checkout at a supermarket , so far i got classes to define customers , checkers and lines (will use queue). im not sure how to make new customers choose a line depending on traffic or number of items per customer. time complexity is key in this code.

regards,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!