Reintroduce The Program as New Improved

(program description)

A software company (Gwinnett Software Inc.) sells a package that retails for $99 a unit. Quantity discounts are given according to the following table:

Quantity

Discount

10-19

20%

20-49

30%

50-99

40%

100 or more  

50%

Design a program that will read data from a data file which includes the customers name, customer number, date of order and the number of packages purchased. The program should then display customers name, customer number, date of order, price before discount, the amount of the discount (if any) and the total amount of the purchase after the discount. Include totals at the bottom of the report for price before discount, amount of the discount and total amount of the purchase after the discount.