Answered step by step
Verified Expert Solution
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 daytoday 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 and a Checking
account is The credit facility is not available to anyone under the age of
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 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: Doethis is an example value
Enter social security number: this is an example value
Enter date of birth:
Enter overdraft limit: this is an example value If option 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: Doethis is an example value
Enter social security number: this is an example value
If the person is under 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 this is an example value
option is selected, your program will list all accounts currently held by the Bank. f option 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 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 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 is selected, your program will ask for an account number and print one of the two output
messages. If option is selected, the program will exit.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started