Write a banking program that will do the following:
Create a Customer Bank Transaction Program with the following data fields.
In the Input Section enter the following:
Enter the customer’s name.
Enter the customer’s account ID.
Store the value entered into the customer’s ID field.
Enter an initial deposit amount.
Store that amount in the account balance and the starting balance fields.
Prompt the user for, and allow the user to enter a series of transactions as well as the amount of each transaction. The user should be allowed to enter as many transactions as wanted for a single customer. When a given transaction is completed the processing should return to the main menu, which will prompt the user for the following.
Enter 1 for deposit.
If the user entered 1 then prompt the user for the amount of the
Deposit and add that amount to the customer's balance as well as the Total
of all the deposits
Enter 2 for withdrawal.
If the user entered 2 then prompt the user for the amount of the withdrawal and subtract that amount from the user's balance and add it to the Total Withdrawal.
If there is not enough money in the account to cover the withdrawal give the user an error message and reject the withdrawal request.
Enter 3 for balance inquiry
If the user entered 3 then display the amount remaining in the
Enter 9 to terminate the session.
Display the following activity summary when finished:
Customer Name – XXXXXXXXXXXX
Customer Id – 99999999
Starting Balance – 99999.99
Total Deposits – 999999.99
Total Withdrawals – 99999.99
It is not our intention to break the school's academic policy. Projects posted are only used as a reference
and should not be submitted as is. We are not held liable for any misuse of the solutions.
Please see the frequently asked questions page
for further questions and inquiries.
Kindly fill out the form.
Please provide a valid email address and we'll get back to you in less than 24 hours.
We will be sending an invoice through PayPal upon confirmation.
We are a non profit organization however we need an amount to keep this organization running,
and to be able to complete our research and development.