(Solved):Write a program that includes an Employee class that can be used to calculate and print the take-home pay for a commissioned sales employees. All employees receive 7% of the total sales. Federal… View Answer…

 

Question

Write a program that includes an Employee class that can be used to calculate and print the take-home pay for a commissioned sales employees.

All employees receive 7% of the total sales.

Federal tax rate is 18%.

Retirement contribution is 10%.

Social Security tax rate is 6%.

Use appropriate constants, design an object-oriented solution, and write constructors.

Include at least one mutator and one accessor method; provide properties for the other instance variables.

Create a second class

Scroll to top