public void WITHDRAW(float w) { d2 = ssaMain.d2; ssaMain.tmp_withdraw2 = w; m.withdraw(); if (d2.balance > MIN_BALANCE) { m.aboveMinBalance(); } else { m.belowMinBalanceWithPanelty(); } }
public void DEPOSIT(float d) { d2 = ssaMain.d2; ssaMain.tmp_deposit2 = d; m.deposit(); if (d2.balance > MIN_BALANCE) { m.aboveMinBalance(); } else { m.belowMinBalanceWithPanelty(); } }