Absolute RequirementsThe Account class must be an abstract classwith two pure virtual functions, closeMonth and accountString.The Savings and Checkingclasses must be subclasses of AccountThe bank must handle at least 10 accounts simultaneously with account numbers 1-9Do not duplicate the balance or ID fields in the subclassesThe balance, withdrawal and deposit manipulation must use the methods in the base class Account.Each actionmust display appropriate messages indicating that the action was completed.The closeMonth and accountString functionsmust be called polymorphically. This means, they arecalled for each account without checking to see what kind of account it is being calledon.An implication of the last point is that there will be a single array of Account objects, some of which are Checking accounts and some of which are Savings accounts.A working example of this programand a test bank2.txt file areattached to the assignment.
Absolute RequirementsThe Account class must be an abstract classwith two pure virtual functions, closeMonth and accountString.The Savings and Checkingclasses must be subclasses of AccountThe bank must handle at least 10 accounts simultaneously with account numbers 1-9Do not duplicate the balance or ID fields in the subclassesThe balance, withdrawal and deposit manipulation must use the methods in the base class Account.Each actionmust display appropriate messages indicating that the action was completed.The closeMonth and accountString functionsmust be called polymorphically. This means, they arecalled for each account without checking to see what kind of account it is being calledon.An implication of the last point is that there will be a single array of Account objects, some of which are Checking accounts and some of which are Savings accounts.A working example of this programand a test bank2.txt file areattached to the assignment.

Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 1 images









