Identify the logic needed to apply a discount on all items in the shopping cart.
Verify that the logic captures the discount coupon and the list of items from the user.
Use the loop to visit all items in the shopping cart, and adjust their prices based on the coupon value.
Verify that the adjusted prices display on the screen.
Utilize loop structures in the solution.