You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add string formatting to print money values in standard form
- Change monetary parameters to `double`s instead of `int`s
- Remove unused `diff` variable in `Bank.withdraw()`
- Use `getMessage()` instead of `toString()` for handling
`NotEnoughMoneyException`
to avoid printing full exception name
- Update `deposit` method to account for negative `amount`s
0 commit comments