Question: C++ with functions Make it appear as basic C++ Create a program that uses a struct with array or vector variables that do the following:
C++ with functions
Make it appear as basic C++
Create a program that uses a struct with array or vector variables that do the following: Get the below information: First Name Last Name Job Title Employee Number Hours Worked Hourly Wage Number of Deductions Claimed Determine if the employee is entitled to overtime (see videos for explanation of overtime) Determine tax rate based on deductions claimed (see videos for explanation of deductions) Determine gross pay, taxes withheld, and netpay Output all information to the screen, but only output overtime if the employee has it Assignment Notes: You may get the data from the user via the keyboard or use an input file to read in an unknown number of records into your program. Your choice. Also, you may also use vectors instead of arrays in your struct. Again, your choice You should not ask the user for their tax rate, gross pay, net pay, or taxes withheld. Your program should do this for the user. I expect to see functions for steps 1 - 5 above, however, you may combine functions if you wish to save space in your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
