the problem he has is in general: he will withdraw the whole money from the bank. i think that's not he's idea. so you need to withdraw a difference from your bag to the value that you want to keep.
MONEY_YOU_WANT_TO_KEEP_IN_YOUR_BAG = 15000
CURRENT_MONEY_IN_YOUR_BAG = 3000
WITHDRAW_VALUE = MONEY_YOU_WANT_TO_KEEP_IN_YOUR_BAG - CURRENT_MONEY_IN_YOUR_BAG
|