C Create Inheritance Hierarchy Bank Might Use Represent Customers Bank Accounts Customers Q37199134

Should be in C#

Create an inheritance hierarchy that a bank might use torepresent customers’ bank accounts. All customers at this back candeposit (i.e. credit) money into their accounts and withdraw (i.e.debit) money from their accounts. More specific types of accountsalso exist. Savings accounts, for instance, earn interest on themoney they hold. Checking accounts, on the other hand, charge a feeper transaction.

Create base class Account and derived classes SavingsAccount andCheckingAccount that inherit from class Account. Base class Accountshould include the following private instance variables: Balance,which is of type decimal to represent the account balance;AccountName, which is of type string and represents

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.