public DepositAccount(decimal interestRate, Customer owner) : base(interestRate, owner) { }
public MortgageAccount(decimal interestRate, Customer owner, decimal loan) : base(interestRate, owner) { //the loans account in banks are negative :) this.Balance = loan * (-1); }
public Account(decimal interestRate, Customer owner) { this.InterestRate = interestRate; this.Owner = owner; }