Question: 1 . Write a program that includes an Employee class that can be used to calculate and print the take - home pay for a

1. Write a program that includes an Employee class that can be used to calculate and print the take-home pay for a commissioned sales employee. Items to include as data members are employee number, first name, last name, and total sales. All employees receive \(9\%\) of the total sales of the month. 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 data members. Create a second class, or a driver program, to test your design. Allow the user to enter values for the name of the employee and the sales amount for the month in the driver program as "Mike", "Johnson", and \$50,000.
1 . Write a program that includes an Employee

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 Programming Questions!