+3 votes
in Class 12 by kratos

Declare a class to represent bank account of 10 customers with the following data members. Name of the depositor, Account number, Type of account ( * for Savings and C for Current), Balance amount. The class also contains member functions to do the following:

(i) To initialize data members

(ii) To *** money

(iii) To withdraw money after checking the balance (minimum balance in Rs. 1000)

(iv) To display the data members

1 Answer

+4 votes
by kratos
 
Best answer

include<iostream.h>

include<conio.h>

include<stdio.h>

Class Account

{

...