This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: by the discount rate. 9. Grand total = cost of the items bought subtracted by the amount of discount provided. 10. create a receipt 11. End Ask for title Ask for first name Ask for discount Ask for price Start Ask for quantity cost = price*quantity grandtotal = cost - totaldiscount totaldiscount = price*quantity*discount End Output receipt...
View Full Document
- Spring '11