Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this should be made in java You are being asked to write an application to run day - to - day business at a Bank.

this should be made in java You are being asked to write an application to run day-to-day business at a Bank.
A customer can request the bank to open a new account. Once the account is open, the customer can
deposit money into the account, withdraw money from the account and see the account balance.
There are two types of accounts: checking accounts and saving accounts. These accounts are similar
in nature except that the checking account allows the customer to withdraw more than the account
balance, effectively allowing a negative balance. The negative balance limit is called an overdraft limit,
which can be set when the account is opened.
The customer can print a statement of an account, listing all transactions. There are two types of
transactions: the debit transaction represents a withdrawal from the account, and the credit transaction
represents a deposit to the account. An account balance is calculated by adding up all credit
transactions and then subtracting from the sum, all debit transactions.
The state regulations require the bank to verify and record customers name, date of birth, social
security number, and address. The minimum age to open a Savings account is 5, and a Checking
account is 16. The credit facility is not available to anyone under the age of 18.
The customer can also close the account. Once the account has been closed, the following rules
apply:
- If an account has a positive balance, then deposits are not allowed but withdrawals can be
made until the account balance has reached zero
- If an account has a negative balance, withdrawals are not allowed, but deposits can be made
as long the account balance stays at zero or below. If option 1 is selected, your program will ask for the following information (the values in black are
only for example):
Enter first name: Jane (this is an example value)
Enter last name: Doe(this is an example value)
Enter social security number: 999-999-9999(this is an example value)
Enter date of birth: 12-30-2000
Enter overdraft limit: 500(this is an example value) If option 2 is selected, your program will ask for the following information (the values in black are
only for example):
Enter first name: Jane (this is an example value)
Enter last name: Doe(this is an example value)
Enter social security number: 999-999-9999(this is an example value)
(** If the person is under 5 years old, then they will not be allowed to open savings
account. Show appropriate error message)
Once the user has entered information the following confirmation will be displayed, and the main
menu will be displayed again:
Thank you, the account number is 9999(this is an example value)
option 3 is selected, your program will list all accounts currently held by the Bank. f option 4 is selected, your program will ask for the account number and then print a statement for
the account. If the account number does not exist then an error message will be displayed If option 5 is selected, your program will ask for an account number and an amount. The
confirmation message will state if the deposit succeeded or failed or if the account could not be
found if option 6 is selected, your program will ask for an account number and an amount. The
confirmation message will state if the deposit succeeded or failed or if the account could not be
found If option 7 is selected, your program will ask for an account number and print one of the two output
messages. If option 8 is selected, the program will exit.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions

Question

Analyze the impact of labor unions on health care.

Answered: 1 week ago

Question

Assess three motivational theories as they apply to health care.

Answered: 1 week ago

Question

Discuss the history of U.S. labor unions.

Answered: 1 week ago