I want to write a program in c++ language to define a class Bank_Account with the following members:

Data member:
- Accoount_no.
- owner.
- Balance.

Member fenctions:
- To assing intial values.
- To deposit an amount.
- To withdraw an amount after checking the balance.
- To display account details.

Recommended Answers

All 3 Replies

OK, sounds fine. What problems are you having with it? Can you show us what you've done so far, if anything?

Did you read the rulesher at DaniWeb?

Dear we are here to help you solving problems in your code, not to do an assignment for you. Its so simple. Try it your self and if you are facing a problem, we are here to help you anytime...

Good Luck mate...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.