Question: In Python A software compant sells a package that retails for $99. Quantity discounts are given according to the following 10-19 is given a 10%

In Python

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

10-19 is given a 10% discount

20-49 is given a 20% discount

50-99 is given a 30% discount

100 or more is given a 40% discount

Write a program that asks the user to enter the nmber of packages purchased. the program should then displa the amount of the discount (if any) and the total aount of the purchase after discount.

Include the following:

A section for input

A section for processing and calculation of the discount and total amount of purchase

A section to print or display the total amount of purchase and discount

Follow the structure of input, processing, output learned in Unit 3.

A properly structured elif statement to calculate discount, do not use nested if/else.

Properly named variables

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!