How do I maintain my values input into the “getinput “ function in my main function? What I’m trying to do is call the function, have those instructions run. The user then inputs the appropriate values and the function returns those inputted values in the main function. So as the program continues to run, it uses those values to calculate gross and net pay.
I would appreciate complete but simples answers. I’m still rather new to programming.