- 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.
9 Respostas
+ 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
0
https://code.sololearn.com/cKsQeCKZXE05/?ref=app
0
Muskan Sharma Your code looks fine, so what is your problem?
0
How to inscribe the code for 10 customer?
0
You can use loop if you wanna do same thing for 10 customers
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.