Question: Software Sales A software company sells a package that retails for $89.99. Quantity discounts are given according to the following table: Quantity Discount 10 -

Software Sales A software company sells a package that retails for $89.99. Quantity discounts are given according to the following table: Quantity Discount 10 - 19 20 - 39 40-89 90 or more 15% 25% 35% 40% Write a program that asks for the number of units purchased, computes the amount of discount and the total cost of the purchase. The program will display the following The quantity purchased The amount of discount The total cost of the purchase . The output should be well formatted. Consider a good layout. I Design a good solution for the problem described above it should be a good program, not just a program that works. Apply what was learned about writing programs in CH4, and follow all the guidelines. Make use of named constant(s) where appropriate. Display a heading Display your name at the end. Format the output. Input validation: Make sure the number of units is greater than 0. Run your program several times. Test all the various possibilities of quantity and discount and use appropriate test data. You may include a loop to allow the user to try again without having to exit the program and run it again. Obtain the screenshots. Write the documentation for the program, similar to what was done for the labs. Submit the .cpp and .exe files, and the Word document to Moodle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
