Question: Use the notepad program to create a payroll file for 2 0 records as follow: Employee s First name, Last name, Social Security Number, Hours

Use the notepad program to create a payroll file for 20 records as follow: Employees First name, Last name, Social Security Number, Hours worked and Hourly rate.
Write a C++ program to read this file into your program and do the proper calculation including overtime if any. Overtime is times and half of the pay rate. Deduct 2% for Social Security, 5% retirement plan, 3% Federal tax (total of 10% deduction). Create a report as follow: Lat four digit of SSN, Employees first initial and last name, Hours worked, Hourly rate, Gross pay, Total deductions, and Net pay. You may have to use substr for SSN and Employees first initial.
Make sure you have number of records and thank you note as a summary at the bottom

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!