public void PIN(int x) { d2 = ssaMain.d2; if (x == d2.pin) { m.correctPin(); if (d2.balance > MIN_BALANCE) m.aboveMinBalance(); else m.belowMinBalance(); } else m.incorrectPin(MAX_ATTEMPTS); }
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(); } }
public void BALANCE() { m.balance(); }
public void exit() { m.exit(); }
public void CARD(float x, int y) { ssaMain.tmp_pin2 = y; ssaMain.tmp_balance2 = x; m.card(); }