Question: Use C# programming Create a program that will calculate employees monthly gross pay as follows: Inputs: Name Annual Salary Monthly Sales Keeps asking for additional

Use C# programming

Create a program that will calculate employees monthly gross pay as follows:

Inputs:

Name

Annual Salary

Monthly Sales

Keeps asking for additional inputs and creating the outputs until an empty name is entered.

Outputs:

Name

Monthly Base Pay (Salary / 12)

Commission calculated as follows:

Subtract 10 * Monthly Base Pay from Monthly Sales giving Net Sales

If the Net Sales is <= 0, then the Commission is 0

Otherwise the First $10,000 in Net Sales is commissioned at 5%

The next $15,000 in Net Sales is commissioned at 10%

The next $25,000 in Net Sales is commissioned at 15%

Any Net Sales over $50,000 is commissioned at 20%

Gross Pay (Monthly Base Pay + Commission).

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).

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!