Connecting Tech Pros Worldwide Forums | Help | Site Map

Help me solve this up

Ritchie's Avatar
Newbie
 
Join Date: Nov 2006
Location: India
Posts: 9
#1: Nov 16 '06
Assume dat a bank maintains two kinds of accounts for customers,one called as saving account & the other as current account.The saving account provides compound interest & withdrawl facilities but no cheque book facility.The current account provides cheque book facility but no interest.Current account holders should also maintain a minimum balance and if the balance falls below this level, a s_____ charge is imposed.
Create a class account that stores customer name,account no. & type of account.From this derive the classes cur_acct & sav_acct to make them more specific to their requirement.Include necessary member functions in order to achieve the foll. task:

a.accept deposit from a customer & update the balance
b.display the balance
c.compute & deposit interest.
d.permit withdrawl & update the balance.
e.Check for the minimunm balance,impose penalty & update the balance.

Reply