Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
19.4k views
in Computer by (64.1k points)

Declare a class to represent bank account of 10 customers with the following data members. Name of the depositor, Account number, Type of account (S 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 deposit money

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

(iv) To display the data members

1 Answer

+2 votes
by (69.4k points) 1 flag
selected by
 
Best answer

#include<iostream.h>

#include<conio.h>

#include<stdio.h>

Class Account

{

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...