Simple bank account app that will allow users to set up an account with an initial deposit and provide subsequent deposits or withdrawals, tracking their balance.
-
Clone this repository
-
Navigate to the bank-account directory using finder or the terminal
Behavior | Input ex. | Output ex. |
---|---|---|
gather and display user's initial deposit | $500 | $500 |
create object with user input | name, deposit | { name, deposit } |
modify object with prototypes | balance = $300/withdrawal = $100 | balance = $200 |
handles withdrawal exceeding balance | balance = $300/withdrawal = $400 | !error! |
** Copyright (c) 2017 Chris Finney & Riley Watts **