Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C + + program using C + + Classes, Structure, Arrays, Vectors, Functions, Pointers, Advance File IO and C + + STL to

Write a C++ program using C++ Classes, Structure, Arrays, Vectors, Functions, Pointers, Advance File IO and C++ STL to do the following:
Display a Main Menu below with Menu options and your company heading to calculate weekly payroll. Also your name must be in the program code
A. Read Employee data from the file below Employee information, the Hours worked and rate of Pay
B. Calculate payroll tax (NY is 18.5%), social security tax and Net Pay for each employee.
C. Write to an out file and Screen with the sorted output by First name of processed payroll data
D. Print out employee checks
E. Print Employer Social Security Total Tax and Total Payroll
F. Find and Display payroll information based on an Emp ID
G. Exit
Please use the following data to create a text file for Employee Information (Could have multiple files to process)
EmpID Name HoursWk RateofPay
1021 Jane Smith 5756.85
1022 Jean Smith 4546.80
1023 Jim Smith 3649.87
1024 John Smith 4158.85
1025 Jon Smith 4738.85
Note: You must use header file. Overtime is time and a half over 40 hours. The current tax rate for social security is 6.2% for the employer and 6.2% for the employee, or 12.4% total.

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

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

Students also viewed these Databases questions

Question

A service window closes just as they get to the front of the line.

Answered: 1 week ago