Missing code

Hello, I am struggling with this assingment. The balance in this code prints 0.0 Why does this happen How can I fix that problem? Then the next part asks me to add println methods to the main function to show that the problem is fixed for all entries made into Mr. Partridge's account. Can anyone assist me with this?? Thanks!!