Implement Banking system using OOP concepts like encapsulation, access specification, late binding, polymorphism and exception handling using C++.
The scenario has been explained below:
There exist accounts of various types like Current, Savings and Student. Every amount would have information like account number (integer), account title (string), current balance, birth date of account holder, etc. Every account instance would provide getter and setter methods for these attributes. Additionally, every account instance would provide methods for deposit and withdrawal of amount.
For every withdrawal of amount from current account, 5% of withdrawal amount would be deducted (an additional transaction) from the remaining account and no extra amount would be added to on each deposit. Similarly, for each deposit in a savings account, 7% of the deposited amount will be added (an additional transaction) to the account’s balance and no amount would be deducted from the