I am having trouble modifying my piece of code to satisfy the instructions given to me. How can i start to correctly do this problem? The directions :
Design and code a new function that accepts as parameters the gross pay by value and the federal tax, state tax, local tax, SS tax, and net Pay by reference. Calculate the taxes at the following rates: federal – 14%, state – 6 %, local – 3.5%, and SS – 4.75%. Calculate the net pay as the gross less the taxes. Return the results via the parameters.
•Design and code a function to display all the gross to net values (as all are dollar amounts, show with 2 decimal places).
•Make the process repetitive until the user enters Cntl_z (eof).