Logic Plan 4  – Chapter 4 Solution

“Calculate Software Sales”

Given the following problem statements, perform the steps and answer the questions listed below, which are designed to help you analyze the problem and prepare a strategy for solving the problem. Submit this logic plan and C­­­­# Project into a folder, zip the folder, and submit in Blackboard for grading.

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

Quantity Discount

10-19 20%

20-49 30%

50-99 40%

100 or more 50%

Create an application that lets the user to enter the number of packages purchased. This program should then display the amount of discount, if any, and the total amount of the purchase after the discount. Also, include an Exit button so the user can close the form and include your student name in the title bar of the form.

Use label controls, button controls, and program comments where applicable. Make sure the C# program is free of syntax and logic errors.
Powered by