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
4 4101
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 .
Meetee 931
Recognized Expert Moderator Contributor
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
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
sicarie 4,677
Recognized Expert Moderator Specialist
mustang07-
Please check your PM's at the top right of your screen.
Thanks
Sign in to post your reply or Sign up for a free account.
Similar topics |
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 numbers have to be at least /most?
|
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 add a few features to their
site (bill pay, transfer money between banks) and I am interested in
the job.
However, I've never worked for a bank before. Any suggestions about
how to win the job, and how to ensure my work is secure enough for this
|
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 all bank and cash accounts,
putting one more column to identify each bank or cash account.
The unique table has this columns structure:
ID Date B/C account FinCode Description Debit
Credit
|
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 during a bank statement reconcile.
I am using the following fields
Date|Payment|Deposit|Running_Balance (tblTransactions)
|
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 both transactions should succeed or both transactions should
be rolled back in case of failure.
| |
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 etc. Accounts can be of two types i.e. savings and current. Minimum initial deposit for opening a savings account is 5,000 and current account is 1000. Your program should be menu driven and it should provide following features:
1. Account opening...
|
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. 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...
|
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 details programmatically.I will be very thankful to all.
Thanks in Advance
pavani
|
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.
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |