Question: Written in C# Visual Studio Code. Note: You do not have to use methods unless you want to. This can all be done in the

Written in C# Visual Studio Code. Note: You do not have toWritten in C# Visual Studio Code.

Note: You do not have to use methods unless you want to. This can all be done in the Main method but add comments for each section (as I have done below) Write a program that calculates the take-home pay for an employee. o Use appropriate constants. o Make sure to change the class name to EmployeePayApp User Inputs the following data o Employee ID o Employee's first name O Employee's last name O Employee type Have the user enter 1 for salary and 2 for hourly Calculate Total Pay If an employee is salaried, allow the user to input the salary amount. o If an employee is hourly Allow the user to input the hourly rate and the number of hours clocked for the week. Calculate salary - for hourly employees, overtime is paid for hours over 40 at a rate of 1.5 of the hourly rate. Calculate Total Deductions O For all employees Federal tax of 18% is deducted. A retirement contribution of 10% Social Security tax rate of 6% should also be deducted. Calculate take home pay ( Total Pay Total Deductions) Display results see example

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!