Lab # 3 – Instructions – Value Returning Functions
Create a new project based on Lab #2, and add a function tocalculate the federal income tax withholding amount based on thenumber of dependents entered by the user and the gross paycomputed. No global variables are allowed.
Modify the input portion to prompt the user for the number ofdependents (integer).
Determine the federal tax “withholding” amount based on gross payand the number of dependents using a function declared and definedby you and based on the conditions below. • The withholdingfunction will determine and return the income tax withholdingamount using the number of dependents input
PayPal Gateway not configured
PayPal Gateway not configured