Create an Account class which contains members like Account_no, name, balance, PAN_no, member function show_account() is used
Question:
Create an Account class which contains members like Account_no, name, balance, PAN_no, member function show_account() is used to display the account information. Create Fixed_deposit class which contains members like Account_no, name, balance, interest rate, noof Months member function deposit_amount() is used to deposit the amount. Create a Digital_account which contains members like Account_no, name, balance, currency_type, member function show_account() is used to display the account information.
Inherit Account class to Fixed_deposit and Digital_account class to develop the bank application and test your application for any three customers inputs and make sure that all three customers' details must be stored in the contiguous memory location and all user inputs must be passed through child class constructors except for deposit_amount() method input.