Bank Account Part 1

3. Your First Function

The first function you should create is an updateBalance function. This should have a parameter which gets any change that should happen to the balance, and then update that variable. It should also set the text to the new updated balance.

The important part is to make this function abstract. That way it can be used inside of other functions as well!
Hint When you login to the app, the balance should get updated. But at the same time the amount should not be changed ... how can we say not to change the amount mathematically?