user
Create a data structure to represent a grocery store checkout system.
assistant

A queue of customers and a single register to process the purchases would work well for a grocery store checkout system. The queue would contain information about each customer, such as the items they are purchasing, the total cost and the payment method. The register would process the transactions, and add up and print out prices for each customer.