View the step-by-step solution to:

Software Sales A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity:

Software Sales

A software company sells a package that retails for $99. Quantity discounts are given according to the following table:

Quantity:

10-19 Discounts = 20%

20-49 Discount = 30%

50-99 Discount = 40%

100 or more Discount = 50%

Design a program in python that asks the user to enter the number of packages purchase the program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. 

Sign up to view the entire interaction

Top Answer

View the full answer
SoftwareSales.py

price = 99
discount = 0
# read the number of packages
packages = int(input("Enter the number of Packages: "))
# find discount on the bases of number of packages
if packages >= 10 and...

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask a homework question - tutors are online