Wallet Exercise

Requirement1:
As a wallet owner, I would like to be able to take a specified amount of money out of the wallet.

Requirement2:

  • Given preferred currency is Rs.,
    When my wallet has Rs.50 & $1, then the sum of money in the wallet is Rs. 124.85
  • Given preferred currency is $,
    When my wallet has Rs.74.85, $1 & Rs. 149.7, then the sum of money in the wallet is $4

Requirement3: As a wallet owner, I would like to be able to put money into my wallet so that I can take it out later.