There might be red herrings, or there might not. Use the blocks you think you need.
Sensors in a shop scan barcodes on items to see what the customer bought. Write a program that gets the name of the item from the sensor and adds it to the basket. Each time it scans an item, a confirmation message appears on the screen. The program will run on the self-scan kiosks for up to ten items.