Please read the instructions
Introduction
Extend the inheritance hierarchy from the previous project bychanging the classes to template classes. Do
not worry about rounding in classes that are instantiated asinteger classes, you may just use the default
rounding. You will add an additional data member, method, and bankaccount type that inherits SavingsAc-count (“CD”, or certicate ofdeposit).
Deliverables
A driver program (driver.cpp)
An implementation of Account class (account.h)
An implementation of SavingsAccount (savingsaccount.h)
An implementation of CheckingAccount (checkingaccount.h)
An implementation of CDAccount (cdaccount.h)
1 Account class
Change to a template class and add/modify the followingitems.
1.1 Data Members
accountNumber (string)
1.2 Member Functions
Constructors
Add accountNumber to the constructor.
Accessors
string getAccountNumber() Returns the account number.
void displayAccount() Prints the account
PayPal Gateway not configured
PayPal Gateway not configured