- 2

Define a class to represent a bank account for handling 10 customers. Include the following members:

Data members: 1.Name of the depositor 2.Account number 3.Type of account 4.Balance amount in the account Member functions: 1.To assign initial values 2.To deposit an amount 3.To withdraw an amount after checking the balance 4.To display name and balance Write a main program to test the program and in C++ language.

29th Jun 2020, 5:24 AM
Muskan
9 Answers
+ 2
We don't give full solution code. We guide you based on where you get stuck. Please show your attempt here using code playground. https://www.sololearn.com/post/75089/?ref=app
29th Jun 2020, 5:54 AM
Gordon
Gordon - avatar
0
https://code.sololearn.com/cKsQeCKZXE05/?ref=app
29th Jun 2020, 6:12 AM
Muskan
0
Muskan Sharma Your code looks fine, so what is your problem?
29th Jun 2020, 6:29 AM
Gordon
Gordon - avatar
0
How to inscribe the code for 10 customer?
29th Jun 2020, 6:38 AM
Muskan
0
You can use loop if you wanna do same thing for 10 customers
29th Jun 2020, 6:50 AM
Hardik Sharma
Hardik Sharma - avatar
0
Well it is very basic program on classes and objects, are you using C++ or Java or any other Object oriented programming? Show me the Minimal working approach.
12th Jan 2024, 7:56 AM
Prantik Sarkar
Prantik Sarkar - avatar