I am new to cplusplus.com. I am student. I am learning C++ Visual Studio 2010. I have schoold assignment to have a program of inhertance. Can you please help to give me good working code for following assignment?
Here is assigment
code for concept lass of inheritance to model two different kinds of bank accounts that be created, or derived, from a generic, base type bank account. you will first creat a base-account class. Then you will create a saving-account class and check-account class that are both devrived from the base bank-account class. Then, you will add specific class members to both of derived classes to make them seperate types of accounts.
What you have to consider is the things that are the same about each account type. For example, each account has a balance. Once you factor out all the common denominators, you can begin to design a base class.