Click on the juice and/or the taco. Satisfied with your order? Click "Place my order." A 10% discount will automatically be applied to orders over $25. How is the subtotal calculated? What code allows for this? How does the program determine when a discount should be applied?