I reformatted my functions like you showed, but now it wants me to fix something:
IEP_final_project_iteration_5_01:19: error: 'int remainingA' redeclared as different kind of symbol
IEP_final_project_iteration_5_01:8: error: previous declaration of 'int remainingA(int, int)'
IEP_final_project_iteration_5_01:20: error: 'int remainingB' redeclared as different kind of symbol
IEP_final_project_iteration_5_01:9: error: previous declaration of 'int remainingB(int)'