Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions