project, JAVA Programming

Assignment Help:

Prog.
Concepts
-
Project
The objective is to
implement a menu
-
based system for Bank Accounts
in order
to simulate a
very simple banking system.
Many structures have to be declared to manage bank accounts. An account contains the
information about a customer name; his/her account number;
current balance
; address; etc
.
The system should be
capable of adding new customers, accepting deposits, handling
withdrawals, and displaying data such as customer name,
address,
account number and
balance
in dollars
.
We may use four
parallel
arrays. The first array (
accountsArray
) is for holding the account
numbers (each account is of type integer). The second array (
namesArray
) is needed
to hold
the customer names
. The third (
addressesArray
) is
for customer addresses. And the fourth
(
balancesArray
) is for balances (each balance is of type
Real
). If a customer has an account in
this bank,
accountsArray
[i] is the account number of this customer,
namesArray
[i] is the
name of the same customer,
addre
ssesArray
[i] is the address of the same customer, and
balancesArray
[i] is the balance of the same customer’s account.
Assume that the
bank’s strategy is to have at maximum 1000 customers
.
You can start filling
partially the arrays by initializing with 10
customers’ data of your choice.
Implement your system to perform the following tasks:
Design the MENU described below:
IDG BANKING SYSTEM
---------------------------------
1. Add a new customer
2. Add from file
3. Withdraw funds
4. Deposit funds
5. Show
Balance
6. Save to file
7. Display All Customers
0
. Exit
Enter your choice
?
?
??
???
??????????????????????
?????
????
?????

Menu Item 1
Prompts the user as
follows: (Each item below is read before the next prompt)
Please enter the following Items
Customer Account Number <>
(read input)
Customer Name<>
(read input)
Customer Address<>
(read input)
Initial
Funds <>
(read input)
Use the account number entered to
assure that the account does not already exists in the array.
If not, then add the new data to the appropriate arrays. If the account number already exists
then display an appropriate error message.

Menu Item 2
Add new customers from a predefined file
“customer.txt”
.
Details are given later.

Menu Item
3
Prompts the user as follows: (Each item below is read before the next prompt)
Please enter the following Items
Customer Account Number <>
(read input)
Withdraw Amount <>
(read input)
Use the account
number to verify that the account exists in the account array. If not, display
an appropriate message. If the account exists, perform the withdrawal transaction and update
the account. The transaction should check the account for the availability of funds.
If
sufficient funds are available complete the transaction and display a message. Similarly,
display a message if funds are
less than the amount requested
.

Menu Item
4
Prompts the user as follows: (Each item below is read before the next prompt)
Please
enter the following Items
Customer Account Number <>
(read input)
Deposit Amount <>
(read input)
Use the account number to verify that the account exists in the account array. If not, display
an appropriate message. If the account exists, perform the depo
sit transaction, update the
account, and display an appropriate message.

Menu Item
5
Prompts the user as follows: (Each item below is read before the next prompt)
Please enter the following Items
Customer Account Number <>
(read input)
Use the account
number to verify that the account exists in the account array. If not, display
an appropriate message. If the account exists
,
the system should display the account details.
Below is an example about the layout of the
d
isplay
ed details
on the screen
:
Accou
nt Number <> 2452
Customer Name <> Fadi Merhi
Address <> 1234 Port Said Road, Mina, North Lebanon
Current Balance <> $
8171.98

Menu Item 6
Save the content of the array in the file “customer.txt”.
Details are given later.

Menu Item 7
Display the Bank
Customers Details as a report
. The customers are sorted in ascending order
on the customers’ names
.

Menu Item
0
Let you
exit the program
.
BIG CHALLENGE
1.
Add the menu item
8
to allow bank loans. One loan per account is allowed until payback
completion. The loan amount couldn’t exceed $ 10,000 and for a period of 3
6 months
at
maximum. The interest rate is
12
%
on the loan when the period is less
than
18 months;
otherwise, it wi
ll be 15%
. T
he money is paid
back in regular monthly
installments. The
loan amount, when attributed, should be added to the current balance. The system should
display a report about the
loan details, payback periods and each installment amount.
2.
Add the menu item
9
to clear a bank loan if attributed.
You may have to add several other
arrays and
functions to improve the structure/clarity
of your main program.

Related Discussions:- project

Help !!, I''ve been trying to get this java program to work but im lost and...

I''ve been trying to get this java program to work but im lost and Im stuck ! The factorial of a positive integer N, denoted by N! N!=1*2*...*N Using subprograms and f unctions,c

Describe logical operators in java, Describe Logical Operators in Java ? ...

Describe Logical Operators in Java ? The relational operators you've learned so far ( , >=, !=, ==) are enough while you only required to check one condition. Therefore what if

Developing a prototype system in php and javascript, General Overview A...

General Overview A number of organisations are using micro-blogging as a cost-effective way of communicating with customers, building online communities and releasing informati

What is a portal?, A portal is a service or a Web site that gives broad ran...

A portal is a service or a Web site that gives broad range of services and resources like e-mail, forums, search engines, weather information, news, on-line shopping, stock quotes.

Url instance and url connection instance, Difference between URL instance a...

Difference between URL instance and URL Connection instance? Ans) A URL instance shows the location of a resource, and a URL Connection instance shows a link for accessing or co

What is a target , A target is the class that is being advised. The class ...

A target is the class that is being advised. The class can be a third party class or your own class to which you require to add your own custom behavior. By using the concepts of A

Need android - ios pdf reader, Project Description: Our project consists...

Project Description: Our project consists of a plain application, both for iPad/iOS (Newsstand app) and Android 4.x which will download PDF magazines from the internet, after ha

Cryonic labs, Cryonic Labs Project Description: Seeking people to col...

Cryonic Labs Project Description: Seeking people to collaborate with in designing gaming apps and mobile apps for the Android Market. I'm presently a student in Computer Engi

What is bullseye explain with an example, What is Bullseye explain with an ...

What is Bullseye explain with an example? This is a easy applet that draws a series of filled, concentric circles alternating red and white, instead a bullseye. import java.ap

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd