Write a C++ program to implement the concept of classinheritance using different types of bank accounts as a model. Inthis lab you will create a base class called CBankAccount andtwo additional classes (each derived from CBankAccount) calledCSavingsAccount and CCheckingAccount. You will then test theoperations of each class in function main() to simulate thetransactions of both a checking account and a savings account.Create a new project that consists of the base classBankAccount.