Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You have been tasked with writing a program for a retail warehouse. They want to encourage their customers to make large purchases ($200 or more) and to pay cash. To do this they have set up a discount system for their customers to use. If a customer pays cash they get a 5 percent discount. If the customer pays cash and the order is $200 or more they get an addition 10 percent off their order. If their customer uses a credit card the only discount they provide is a 8 percent discount for orders that are $200 or more. Sales tax is 5 percent. They want to be able to see the initial amount of the order, the the amount of cash discount, the amount of 200 and over discount, total amount of discounts, the subtotal (initial order minus the discount), the amount of sales tax and the grand total.
Add Comment
Please, Sign In to add comment