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 do the following: Display a Main

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 C. Write to an out file and Screen with the sorted output 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 27 56.75 1022 Jean Smith 46 46.50 1023 Jim Smith 37 49.67 1024 John Smith 42 58.55 Note: You must use header file. Overtime is time and a half over 40 hous. The current tax rate for social security is 6.2% for the employer and 6.2% for the employee, or 12.4% total. You must upload the .h, .cpp files, outdata file, picture of working program - jpg, png, bmp (upload all individual files same time, do not zip files)Your name must be in the code and remember comments. Plan your program before you begin

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

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions

Question

Give the proper name for each molecule. a. SeO2 b. Cl2O c. XeF6

Answered: 1 week ago