You are to modify one of my programs by creating the following functions: void GetInput (ifstream &inputFile, float &totalSales, int &hoursWorked, int &numDependents); void PrintHeading (ofstream &outputFile); float CalculateGrossPayA(float totalSales, int hoursWorked); float CalculateGrossPayB(float totalSales); float CalculateSocialSecurity (float grossPay); float CalculateStateTax (float grossPay); float CalculateFedTax(float grossPay); float CalculateHealthIns(int numDependents); float CalculateNetPay(float grossPay, float socialSecurity, float stateIncomeTax, float fedIncomeTax, float healthInsuranceCost, float unionDues); void PrintPayAndDeductions (ofstream &outputFile, float grossPay, float socialSecurity, float stateIncomeTax, float fedIncomeTax, float healthInsuranceCost, float unionDues, float netPay); There are two plans in this program. Plan A uses a commission rate of 10 % but the hourly rate is now $9.50. Plan B uses a commission rate of 30%. State Taxes are 7.5 of gross pay. All the other deductions should not be changed. The body of main() should consist mainly of series of function calls. Be sure to include a short comment before each function definition describing what the function does. This program should be called [login to view URL] This program should read from an input file. The input file consists of the followeing. 1200.00 45 1 1200.00 40 1 1200.00 35 1 1875.50 35 2 1875.50 35 5 1875.50 45 3 2250.75 48 0 2250.75 40 4 2250.75 35 3 Be sure to include alot of comments and tell me what the algorithms are. This program should be written in C++, not C. I need this done ASAP!
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
## Platform
Visual C++