This java program displays an algorithm for consumers in a supermarket. It shows the decisions made by a client based on whether or not they are in a hurry and takes into consideration the change of speed at cashiers.