Write a program to accept with input and output similar to the following. Employee name? Rich Hourly Rate? 15.00 Hours worked? 42 Output is Rich earned $645.00 FICA $xxx.xx Fed $xxx.xx State $xxx.xx Net Pay $xxx.xx FICA is calculated at 7.65%. Fed tax is calculated at 22% and state tax is calculated at 12%. You may use as many functionss as you wish. You must have functions named as below. You must determine the parameters or these methods. There are many correct solutions, pick a path and make it work. GetPay() GetHrs GetRate PrintStub CalcFICA CalcFedTax CalcStateTax Accept only hourly rates between 5.50 and 200.00 Accept only hours worked between 0.0 and 60.0 without a cross check. If hours are greater than 60.0 as user to override the 60 hour limit. Flag any net pay in excess of $10,000 with the “(out of normal range)” warning. Comment your code so the next poor person who needs to modify it will thank you. code that I did already: #include "stdafx.h" #include #include #include using namespace std; //////////////////////////////////////////////////////////////////////////////////////////////////////////// int GetHrs() { } //////////////////////////////////////////////////////////////////////////////////////////////////////////// int GetRate() { } //////////////////////////////////////////////////////////////////////////////////////////////////////////// int GetPay() { } //////////////////////////////////////////////////////////////////////////////////////////////////////////// int PrinStub() { } //////////////////////////////////////////////////////////////////////////////////////////////////////////// int CalcFICA() { } //////////////////////////////////////////////////////////////////////////////////////////////////////////// int CalcFedTax() { } //////////////////////////////////////////////////////////////////////////////////////////////////////////// int CalcStateTax() { } //////////////////////////////////////////////////////////////////////////////////////////////////////////// void Pause() { char junk; cout
Get Free Quote!
427 Experts Online