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
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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started