473,401 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

bank account in c++ language

can someone kindly help me with this program.PLEASe





Create a base class Bank of a bank account with member functions to allow withdrawal, deposit and calculation of balance. Account should have a name, account number and type.

Create derived class Saving of a saving account, which allows overdraft up to $8000 and gives interest of 2% per annum. Create another derived class Current of a current account, which does not allow overdraft and does not give any interest.

Create two objects of the derived classes with initial deposits of $2000 and $5000 each. Demonstrate the use of various member functions for withdrawal, deposit, interest calculation for one month, showing balance and giving warning when the account balance is zero or less.

The display can be as given below (user inputs are in bold):

Account Name: Jacky Chan
Account No: 12345
Type: Saving
Balance: $6000
Enter positive amount to deposit and negative to withdraw: $1000
Balance: $7000
Interest next month: $11.67




Please exercise creativity and object oriented approach in your program design and make your program as friendly as possible to the users
Jul 18 '07 #1
4 4078
ilikepython
844 Expert 512MB
can someone kindly help me with this program.PLEASe





Create a base class Bank of a bank account with member functions to allow withdrawal, deposit and calculation of balance. Account should have a name, account number and type.

Create derived class Saving of a saving account, which allows overdraft up to $8000 and gives interest of 2% per annum. Create another derived class Current of a current account, which does not allow overdraft and does not give any interest.

Create two objects of the derived classes with initial deposits of $2000 and $5000 each. Demonstrate the use of various member functions for withdrawal, deposit, interest calculation for one month, showing balance and giving warning when the account balance is zero or less.

The display can be as given below (user inputs are in bold):

Account Name: Jacky Chan
Account No: 12345
Type: Saving
Balance: $6000
Enter positive amount to deposit and negative to withdraw: $1000
Balance: $7000
Interest next month: $11.67




Please exercise creativity and object oriented approach in your program design and make your program as friendly as possible to the users
Show us what you have started and we will help you. Also, please read the posting guidelines .
Jul 18 '07 #2
Meetee
931 Expert Mod 512MB
can someone kindly help me with this program.PLEASe





Create a base class Bank of a bank account with member functions to allow withdrawal, deposit and calculation of balance. Account should have a name, account number and type.

Create derived class Saving of a saving account, which allows overdraft up to $8000 and gives interest of 2% per annum. Create another derived class Current of a current account, which does not allow overdraft and does not give any interest.

Create two objects of the derived classes with initial deposits of $2000 and $5000 each. Demonstrate the use of various member functions for withdrawal, deposit, interest calculation for one month, showing balance and giving warning when the account balance is zero or less.

The display can be as given below (user inputs are in bold):

Account Name: Jacky Chan
Account No: 12345
Type: Saving
Balance: $6000
Enter positive amount to deposit and negative to withdraw: $1000
Balance: $7000
Interest next month: $11.67




Please exercise creativity and object oriented approach in your program design and make your program as friendly as possible to the users
This is a pure calculative program which is much dicriptive in the problem itself. Try to do something in coding and then ask if stuck somewhere.

Regards
Jul 18 '07 #3
can someone kindly help me with this program.PLEASe





Create a base class Bank of a bank account with member functions to allow withdrawal, deposit and calculation of balance. Account should have a name, account number and type.

Create derived class Saving of a saving account, which allows overdraft up to $8000 and gives interest of 2% per annum. Create another derived class Current of a current account, which does not allow overdraft and does not give any interest.

Create two objects of the derived classes with initial deposits of $2000 and $5000 each. Demonstrate the use of various member functions for withdrawal, deposit, interest calculation for one month, showing balance and giving warning when the account balance is zero or less.

The display can be as given below (user inputs are in bold):

Account Name: Jacky Chan
Account No: 12345
Type: Saving
Balance: $6000
Enter positive amount to deposit and negative to withdraw: $1000
Balance: $7000
Interest next month: $11.67




Please exercise creativity and object oriented approach in your program design and make your program as friendly as possible to the users

HOPE THIS HELPS :)

Code removed per Posting Guidelines
Jul 19 '07 #4
sicarie
4,677 Expert Mod 4TB
mustang07-

Please check your PM's at the top right of your screen.

Thanks
Jul 19 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Stefan Reiter | last post by:
Hi, I am trying to validate bank numbers ( the number that identifies a bank) and bank account numbers. Is there a certain algorithm or do you know any generell rules like how long the...
25
by: PRESENT321 | last post by:
I just wanted to get some advice. I've had a few years experience in web site design and server-side programming and am fairly confident in my skills. There is a local Credit Union wanting to...
1
by: Amos | last post by:
Dear Sirs I am trying to build a cash flow software, first I thought to build one table for each cash and bank account, but talking to some people they suggested me to build one unique table for...
5
by: bobdydd | last post by:
Hi Guys Can anyone help I am trying to find a way to implement a running balance that will re-calculate if the date order is changed, or if an earlier record is changed like you might want to do...
6
by: Thapliyal, Deepak | last post by:
Hi, Assume I have a bank app.. When customer withdraws $10 from his accouint I have to do following --> update account_summary table --> update account detail_table Requirement: either...
2
by: fasihharis | last post by:
i have some problem in this program.plz help me. program: You are required to develop a banking System. System will provide normal banking facilities like account opening, deposit, withdrawal...
2
by: cheongsiwei | last post by:
Need some helps here >.< The project i required to complete : Create a base class Bank of a bank account with member functions to allow withdrawal, deposit and calculation of balance. ...
4
by: pavanip | last post by:
Hi, I am developing one application in that i have to calculate bank account credit scores.Please anyone give me the suggestion about how to calculate credit scores and how to verify bank account...
1
by: Harlan Messinger | last post by:
The Doctor wrote: A quandary? Hardly. I would think that you'd address this question to the bank whose page you are submitting the information to.
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.