Program to calculate final price of retail purchase. Ask user for total price of items. Take off appropriate discount: $50+ gets a 20% discount, and $25+ gets a 10% discount. Only one applies. Output discount when you apply it with 'You received xx% discount.' Then, add sales tax of 6%. Output final price in format 'Final price: x' without dollar sign.

Q&A Education