![]() ![]() |
|
public void withdraw(double amount)
{ balance = balance - amount; } |
public void withdraw(double amount)
{ if (amount <= balance) balance = balance - amount; } |
public void withdraw(double amount)
{ if (amount <= balance) balance = balance - amount; else balance = balance - COMMISSIONE_SCOPERTO; } |