Edward Zhou401 Points
why do you need "int runningTotal = 0" in the beginning?
why do you need "int runningTotal = 0" in the beginning? especially when the total is definitely not zero.
Hi, the integer variable must be set otherwise the program won't know where to start from. If you didn't have runningTotal then you wouldn't be able to add up and show the client how many minutes they've worked out for..
At the very beginning before anyone adds minutes for the first time, the total IS zero.