internal static void Main() { var account = new Account("Jim Johnson"); account.Deposit(500.0); account.Deposit(300.0); account.Deposit(550.0); account.PayInterest(); account.Withdraw(2000.00); account.Withdraw(1100.00); }
public SilverState(double balance, Account account) { this.Balance = balance; this.Account = account; this.Initialize(); }