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

mddeninevhrtz

 

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

 

 Quantity  Discount

 

 10–19 10%

 

 20–49 20%

 

 50–99 30%

 

 100 or more 40%

 

 

 

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

 

 

 

Requirements:

 

A main() function. 

 

Either an intro() function to explain the program, or the explanation in main().  Other functions (or modules) are optional.

 

A description along with the resulting amounts.

 

    • 11 years ago
    • 20
    Answer(3)

    Purchase the answer to view it

    NOT RATED
    • discountoffer.rtf

    Purchase the answer to view it

    NOT RATED
    • a_software_company_sells_a_package_that_retails_for_99._quantity_discounts_are_given_according_to_the_following_table.docx

    Purchase the answer to view it

    NOT RATED
    • discount.rar