[Solved]Need Help C Question Classes Included Please Note Classes Bankaccount Checkingaccount Abst Q37124181
Need help with this C++question, with all classes included. please
Note that the classes bankAccount and checkingAccount areabstract. That is, we cannot instantiate objects of these classes.The other classes in Figure 12-25 are not abstract.
bankAccount: Every bank account has an account number, the name ofthe owner, and a balance. Therefore, instance variables such asname, accountNumber, and balance should be declared in the abstractclass bankAccount. Some operations common to all types of accountsare retrieve account owner’s name, account number, and accountbalance; make deposits; withdraw money; and create monthlystatements. So include functions to implement these operations.Some of these functions will be pure virtual.
checkingAccount: A checking account is a bank account. Therefore,it inherits all the properties of a bank account. Because one ofthe objectives of a checking account is to be able to write checks,include the pure virtual function writeCheck to write acheck.
serviceChargeChecking: A service charge checking account is achecking account. Therefore, it inherits all the properties of achecking account. For simplicity, assume that this type of accountdoes not pay any interest, allows the account holder to write alimited number of checks each month, and does not require anyminimum balance. Include appropriate named constants, instancevariables, and functions in this class.
noServiceChargeChecking: A checking account with no monthly servicecharge is a checking account. Therefore, it inherits all theproperties of a checking account. Furthermore, this type of accountpays interest, allows the account holder to write checks, andrequires a minimum balance.
highInterestChecking: A checking account with high interest is achecking account with no monthly service charge. Therefore, itinherits all the properties of a no service charge checkingaccount. Furthermore, this type of account pays higher interest andrequires a higher minimum balance than the no service chargechecking account.
savingsAccount: A savings account is a bank account. Therefore, itinherits all the properties of a bank account. Furthermore, asavings account also pays interest.
highInterestSavings: A high-interest savings account is a savingsaccount. Therefore, it inherits all the properties of a savingsaccount. It also requires a minimum balance.
certificateOfDeposit: A certificate of deposit account is a bankaccount. Therefore, it inherits all the properties of a bankaccount. In addition, it has instance variables to store the numberof CD maturity months, interest rate, and the current CDmonth.
Write the definitions of the classes described in this programmingexercise and a program to test your classes.
bankAccount checkingAccount certificateOfDeposit savingsAccount highInterestSavings serviceChargeChecking noServiceChargeChecking highInterestChecking Show transcribed image text bankAccount checkingAccount certificateOfDeposit savingsAccount highInterestSavings serviceChargeChecking noServiceChargeChecking highInterestChecking
Expert Answer
Answer to Need help with this C++ question, with all classes included. please Note that the classes bankAccount and checkingAccoun… . . .
OR

