업데이트 'AccountArray.java'

Status
poopki 3 years ago
parent 4086ce4bb4
commit 8842db1df8
  1. 3
      AccountArray.java

@ -13,8 +13,7 @@ public class AccountArray {
Account m_Src = m_AccountArray.get(Src);
Account m_Des = m_AccountArray.get(Des);
if(m_Src.getBalance()-Amount>0){
m_Src.withdraw(Amount);
if(m_Src.withdraw(Amount)){
m_Des.credit(Amount);
}
}

Loading…
Cancel
Save