- Understand the benefits of pair programming http://www.wikihow.com/Pair-Program
- More experiences with classes/objects
http://www.wikihow.com/Pair-Program
####Create two classes: BankAccount and Patron
- A BankAccount has a balance
- A Patron has a name, an account, and his/her “pocket”.
####For now, our constraints will be:
- A patron can only interact with one account ( 1 <=> 1 )
- An account can interact with many patrons ( 1 <=> many)
- We will deal with dollars only, no cents
- An account should allow withdrawals and deposits
- A patron can get from and put money in the account
- Both should be able to show their current balance
- Make it so a patron can interact with multiple accounts
- Prevent the possibility of a Patron performing an overwithdrawl
- Prevent the possibility of depositing more than you currently have in your pocket
####Create one class: Calculator
####For now, our constraints will be:
- Your calculator must be able to add, subtract, multiply, and divide
- Your calculator should have an accumulator property to hold on to the current calculated value
- A calculator should be able to change its sign (+/-)
- A calculator should be able to display the reciprocal value of the accumulator (1 / accumulator)
- A calculator should be able to produce the squared value of the accumulator
Add a memory capability to your calculator:
- Memory Clear // clear memory
- Memory Store // set memory to accumulator
- Memory Recall // set accumulator to memory