Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Java code with details: Instructions Banking Teller Application - Imagine your customer asks you to create an application to audit the efficiency and

Write a Java code with details:
Instructions
Banking Teller Application - Imagine your customer asks you to create an
application to audit the efficiency and accuracy of tellers in their bank. They report
to you the activity for the day and ask you for specific results expected for such
activity. For this, write code in java which meet the following characteristics:
Keep track of how much money is in each teller's drawer. They start the day
with $2,500. And there are two tellers always on the floor.
Keep track of which person was seen at Teller window number 1 or Teller
window number 2. The tellers work at the same pace, so each teller will see
every other person in line. The names of each person in line is listed in order
below.
Every third person in line is going to make a withdrawal of $250.
Every fifth person in line is going to make a deposit of $475.
All others in line are depositing $100 each.
As output for this program, please output a list of all the people that visited each
teller, and the final drawer balance for each one.
list the transaction for each person.
Please include clear comments for each line of code and use Java 8 and Eclipse
IDE to write the code
In the code, please consider to use basic Java properties, constructor, getter,
setter, methods and so on.
Create at least 2 or more functions to accomplish these tasks. Below are the
customer names that you can use at the start of the application.
Data of customers at bank listed in the same order they are in line:
customera names (I
"Lee brown",
"David backz",
"Aman Ali",
"Nan smith",
"John smith",
"Bob Louis",
"Aliea Tom",
"Sarah Alem",
"Robert Kyle",
"Paras Patel",
"Rita Wang",
"Jones Curtis"
D)
Note: Chegg expert did the same question here on yesterday but incomplete for displaying lists
of the transaction for each person (item #7 above) so you can use the same code to
complete displaying the below output |
Expected outputs should be something below:
starting balance:
Teller 1: Initial balance Drawer Balance: $2500
Teller2 Initial balance Drawer Balance: $2500
Number of customers: 12
Transactions
Lee brown: deposited $100 to Teller 1
'David backs; deposited $100 to Teller2
Aman Ali: withdrew $250 from Teller 1
Nan smith: deposited $100 to Teller2
John smith: deposited $475 to Teller 1
Bob Louis: withdrew $250 from Teller2
Alica Tom: deposited $100 to Teller 1
Sarah Alem; deposited $100 to Teller2
Robert Kyle: withdrew $250 from Teller 1
Paras Patel: deposited $475 to Teller2
Rita Wang: deposited $100 to Teller 1
Jones Curtis: withdrew $250 from Teller2
Summary:
Teller 1 served the following customers:
Lee Brown
Aman Al
John Smith
Alica Tom
Robert Kyle
Rita Wang
Final drawer balance for Teller 1: $2775.0
Teller 2 served the following customers:
David Backy
Nan Smith
Bob Louis
Sarah Alem.
Paras Patel
Jones Curtis
Final drawer balance for Teller 2: $2775.0
image text in transcribed

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

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions