Assume that a bank maintains two kinds of accounts for customers,one called as Savings account and the other as Current Account.The Savings account provide compound interest and withdrawal facilities but no cheque book facility.The Current Account provides cheque book facilty but no interest. Current Account holders should also maintain a minimum balance and if the balance falls below this level, a service charge is imposed.
Create a Class Account that stores customers name,account number and type of account.From this derive the classes Cur-Acct and Sav-Acct to make them more specific to their requirements.Include necessary members functions in order to achieve the following tasks:
a) Accept deposit from a customer and update the balance.
b) Display the balance
c) Compute and deposit interest
d)Permit withdrawal and update the balance.

2 Years
Discussion Span
Last Post by JamesCherrill

OK, I created that class. Now would you like me to send it directly to your teacher on your behalf, or would you prefer to try to do it yourself?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.