This is my first program with user defined functions, and it seems that my functions are not returning back a value, so my totalCharges are incorrect. I am not sure what I can do to resolve the issue, so that it adds the values correctly.
In the if/else statements in your functions, you are creating another monthlyCharge variable which is shadowing your original one (and the one you return). The easiest way to fix this is just get rid of the declarations from line 92, 98, 109, 115, 127, 133, 145, and 151.