as you can see I\'m having trouble getting the final total for this program, I have total+=amount; in the function but it isn\'t returning the charges to main to calculate/d