Assume that bank maintains two kind of accounts for ...
Assume that bank maintains two kind of accounts for customers, one called as saving account and other as customer account.
The saving account provides compound interest and withdrawl facilities but no cheque book facility. The current account provides cheqe book facility but no interest.current account holders should also maintain a minimum balance and if the balance falls below tyis level,a service charge is imposed.
create a class account that stress customer name,account nos and type of account.from this device the classes current account and saving account to make them more specific to their requirements include necessary members functions in order to achieve the following tasks:-
a ACCEPT DEPOSITS FROM A CUSTOMER AND UPDATE THE BALANCE.
b. DISPLAY THE BALANCE.
c. COMPUTE AND DEPOSIT INTEREST.
d. PERMIT WITHDRAWL AND UPDATE THE BALANCE.
e. CHECK FOR THE MINIMUM BALANCE,IMPOSE PENALTY AND UPDATE THE
BALANCE.
#include"stdio.h"
#include"iostream.h"
#include"conio.h"
#include"process.h"
class account
{
int ac_no;
char ac_name[20];
protected:
int balance;
public:
void getinfo();
void display();
};
void account::display()
{
cout ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- bank accounts for bad credit
- what kind of precautions for shingles
- grandparents bank accounts for grandchildren
- sample chart of accounts for s corporation
- chart of accounts for accounting purposes
- chart of accounts for manufacturing
- bank of america types of accounts offered
- bank of america checking accounts for seniors
- chart of accounts for investment activities
- bank accounts for grandchildren
- business bank accounts for startups
- assume that an is an arithmetic sequence