public void Visit(BankAccount bankAccount)
 {
     this.Total += bankAccount.Amount;
 }
 public void Visit(BankAccount bankAccount)
 {
     this.Total += bankAccount.Amount * bankAccount.MonthlyInterest;
 }