By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,603 Members | 1,422 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,603 IT Pros & Developers. It's quick & easy.

Help me solve this up

Ritchie
P: 9
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.
Nov 16 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.