Java program to simulate customer queues in a grocery store
2 Pages601 Words291 Views
About This Document
This Java program simulates the management of customer queues in a grocery store with two cashier counters. Customers can choose any counter to checkout and a store manager balances the length of the queues for efficient services. The program allows for adding customers to queues, serving customers, reporting queue status, adjusting queues, closing cashiers, and closing the store. The program ends only when the user selects to close the store. The output includes a sales report at the end of the day.