Your objective is to write a well-documented simple program using classes, a loop, and nested ifs to simulate an ATM using JAVA.
1. Create an ATM class with class variables name, pin, and balance, a constructor with parameters to assign values to the three instance variables, methods to get the name, pin, and balance, and methods to handle validated deposits and withdrawals ( deposit and withdrawal amounts cannot be negative, and withdrawal amount must not be greater than the existing balance).
2. In the ATMTest class, read the names, 4 digit pin numbers, and account balances of two customers into two instances of the ATM class. Display the two customers names, pins, and balances formatted.
3. Now that you have all your customers’ information start your ATM to accomplish the following within an infinite loop,
a). Display a welcome screen with your bank’s information and prompt for and read the customer entered pin.
b). Use a nested if to match the entered pin with one of the two customers’ pins. If the entered pin number matches that of one of the customers, then:
i. Welcome the customer by name and display the balance.
ii. Display option to 1. DEPOSIT, 2. WITHDRAW or 3. EXIT.
iii. If option 1 is selected, then use the instance deposit method to prompt for deposit amount, read, and add a valid deposit amount to the customer’s balance
iv. If option 2 is selected, then use the instance withdrawal method to subtract a valid withdrawal amount from the customers balance
v. If option 3 is selected, go to step a.
4. Should the entered pin number not match either of the two customers, notify the customer that the entered pin is not valid and go to step a.
5. Selection of the EXIT option must display welcome/login screen (step a).
6. Should an incorrect option be entered, notify the user and display the original welcome/login screen (step a).
Please lists the IDE you used for the project.
In: Computer Science
There are 12 agents in one office of a certain real estate firm. Much of the business in this office is conducted by taking a prospective customer out to view a particular property. The time to drive to and view a property is normally distributed and averages 47.3 minutes with a standard deviation of 11.7 minutes. Past studies have shown that twenty-six (26) percent of customers that visit properties with an agent will eventually buy a property being shown by that agent. On average each agent visits 3.6 properties a day, with a standard deviation of 1.9 visits.
a) What is the probability that an agent will visit at least 7 properties over the next three days?
b)What is the probability that the average time of the next 50 property viewings will be less than 45 minutes?
c) A particular agent currently has 17 prospective customers that are being shown properties for sale. What is the probability that less than 4 of these customers will eventually buy a property being shown by the agent?
d) Eighty-two (82) percent of property visits will take what range of time, centered at the mean.
In: Statistics and Probability
On Monday mornings, a CIBC branch has only one teller window open for deposits and withdrawals. Experience has shown that the average number of arriving customers in a four-minute interval on Monday mornings is 2.6, and each teller can serve more than that number efficiently. The random arrivals at this bank on Monday mornings are Poisson distributed.
(a) Suppose the teller can serve no more than four customers in any 4-minute interval at this window on a Monday morning. What is the probability that, during any given four-minute interval, the teller will be unable to meet the demand? What is the probability that the teller will be able to meet the demand?
(b) When demand cannot be met during any given interval, a second window is opened. What percentage of the time will a second window have to be opened?
(c) What is the probability that exactly three people will arrive at the bank during a two-minute period on Monday mornings to make a deposit or a withdrawal?
(g) What is the probability that five or more customers will arrive during an eight-minute period?
In: Statistics and Probability
The Yum and Yee food truck near the business school serves customers during lunch hour by taking orders and making fresh batches of stir fry. Customers have only one choice during the lunch hour, since the objective is to maximize the number of customers served. Assume that each customer places just one lunch order, and all lunch orders are the same size –one unit of stir-fry. The stir fry cooking works in this manner. First, a batch of orders is cooked in a wok by one person. The cooking depends upon the number of orders in the batch. The time to cook just one order is 3 minutes. For each additional order in the batch, it takes 0.5 minutes more to cook. Thus, cooking two orders in a batch takes 3.5 minutes, cooking three orders takes 4 minutes, and so on. The other activity is bagging and accepting payments (done by a separate person), which takes 0.80 minutes per order.
If Yum and Yee operates with batch sizes of 9 units, what is their process capacity (in orders per miute)?
In: Operations Management
wirte a program in java
Part I Internet Service Provider
An Internet service provider has three different subscription packages for its customers:
Package A: For $9.95 per month 10 hours of access are provided. Additional hours
are $2.00 per hour.
Package B: For $13.95 per month 20 hours of access are provided. Additional hours
are $1.00 per hour.
Package C: For $19.95 per month unlimited access is provided.
Write a program that calculates a customer’s monthly bill. It should ask the user to enter
the letter of the package the customer has purchased (A, B, or C) and the number of hours
that were used. It should then display the total charges.
Part 2 Internet Service Provider
Modify the program you wrote for Programming in part 1 so it also calculates and
displays the amount of money Package A customers would save if they purchased Package
B or C, and the amount of money Package B customers would save if they purchased Package If there would be no savings, no message should be printed.
use printf for output and no arrays
In: Computer Science
After reviewing the standards of performance, you find that the hotel has determined that the standard of performance for room cleanliness requires that 75% of customers respond “completely satisfied”. You decide that corrective action is needed in order to raise the customer satisfaction rating. You meet with your assistant managers, Katherine and Brian, to discuss the situation. They each offer a different suggestion on what you should do next. Brian thinks the housekeeping staff is doing a great job at cleaning the rooms. The problem, he thinks, is that customers have become too picky and expect a five star hotel at three star prices. He suggests that you lower the standards of performance to 70%. Katherine disagrees and thinks you should hold mandatory meetings in order to retrain the housekeeping staff. Even though customers are picky, the hotel should be able to rise up and meet the current standard of performance.
What should you do?
A)Agree with Katherine, and require mandatory training sessions with the housekeeping staff.
B)Agree with Brian and lower the standard of performance to have 70% of guests “completely satisfied”.
In: Operations Management
Hugh Darby, the general manager has discovered a fraud involving the theft of more than $50,000 of cash. The person(s) who stole the cash were waiters/waitresses who simply pocketed any cash they received from restaurant customers and destroyed the relevant bills for the meals charged to these customers. No correcting entries have been posted as yet, because the fraud is still being investigated and Hugh is not sure of exactly how much money has been stolen.
Required: identify three internal controls you would expect to be in place to prevent and/or detect theft of this nature. Your answer should include identifying at least one relevant control related to each of the following:
i) source document design;
ii) independentchecksorreconciliations;and
iii) personnel or segregation of duties.
In: Accounting
What would SE business do during a pandemic? Use HelloFresh company as your discussion. How would business be impacted if it were open during this Covid-19 pandemic? What would firm do for the customers and employees?
HelloFresh's business model is to prepare the ingredients needed for a meal, and then deliver them to customers, who must then cook the meal using recipe cards, which takes around 30–40 minutes. It generally provides about three two-person meals a week for about $60 to $70. It offers a choice from about 19 recipes. In the United States, HelloFresh offers a wine-subscription service, based on that of its competitor Blue Apron. In several markets, it provides "Rapid Box" meals which take only 20 minutes to prepare.
In: Operations Management
In: Economics
What do Marketers Do?
1.Analyse how the key elements of the marketing mix contribute to an organisation's marketing strategy
2. Compare alternative theories of consumer behaviour and contrast how they influence marketing activities
In: Economics