Question: 1 . Write a program that includes an Employee class that can be used to calculate and print the take - home pay for a
Write a program that includes an Employee class that can be used to calculate and print the takehome 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 of the total sales of the month. Federal tax rate is Retirement contribution is Social Security tax rate is Use appropriate constants, design an objectoriented 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 $
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
