Question: Create a program that will calculate employees monthly gross pay as follows: Inputs: 1) Name 2) Annual Salary 3) Monthly Sales 4) Keeps asking for

Create a program that will calculate employees monthly gross pay as follows: Inputs: 1) Name 2) Annual Salary 3) Monthly Sales 4) Keeps asking for additional inputs and creating the outputs until an empty name is entered. Outputs: 1) Name 2) Monthly Base Pay (Salary / 12) 3) Commission calculated as follows: A. Subtract 10 * Monthly Base Pay from Monthly Sales giving Net Sales B. If the Net Sales is <= 0, then the Commission is 0 C. Otherwise the First $10,000 in Net Sales is commissioned at 5% D. The next $15,000 in Net Sales is commissioned at 10% E. The next $25,000 in Net Sales is commissioned at 15% F. Any Net Sales over $50,000 is commissioned at 20% 4) Gross Pay (Monthly Base Pay + Commission). 5) If any of the inputs are unreasonable, tell user with a message and force reentry of the data (e.g. Negative Sales, Annual Salary > $120,000 or < $12,000, if not 0). New Project: Create a windows program that will calculate employees monthly gross pay as follows: 1. Program will use the same rules as the 2 projects (see above) with the following additions: a. Employees who are Managers, get commission on the total sales of all the sales reps b. The sales are not lowered by the salary. c. The percentages are of the sales rep and the breakpoints are ten times the sales reps (e.g. if the sales rep first break point is at 50,000, then the managers is at 500,000. d. Employees who are support get commissioned like managers, but they get 0.1 of what a manager gets. 2. You should create a class that saves the following information for an employee: a. Last Name b. First Name c. Annual Salary d. Type (Sales Rep, Manager, Support) e. High Cost flag 3. When money information on the form changes, then the gross pay should be cleared.

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!