Question

In: Computer Science

4 usernames and 4 passwords in arrays. also each have checking and saving balances. DONE IN...

4 usernames and 4 passwords in arrays. also each have checking and saving balances. DONE IN RAPTOR

You are writing a program that will act like an ATM machine by the end of this course. In order to access the ATM, the customer must enter their user name and their passcode. After 3 incorrect attempts at entering the user name and password, the program will end. The list of legitimate users along with their user ID, passcode and account balance will be provided to you. There are only 5 functions that can be carried out by the ATM: 1 – Deposit (adding money to the account) 2 – Withdrawal (removing money from the account) 3 – Balance Inquiry (check current balance) 4 – Transfer Balance (transfer balance from one account to another) 5 - Log Out (exits/ends the program) Allow the user to make up to a maximum of 3 transactions at a time. After 3 transactions, the program will terminate. After a transaction is completed, the program will update the running balance and give the customer a detailed description of the transaction. A customer cannot overdraft on their account; if they try to withdraw more money than there is, a warning will be given to the customer. Also note that the ATM doesn’t distribute or collect coins – all monetary values are in whole dollars (e.g. an integer is an acceptable variable type). Any incorrect transaction types will display an appropriate message and count as a transaction.

Solutions

Expert Solution

summary: from the given information I have written the program in Java... I am sure you may easily understand this program

I hope this is useful to you and thank you


Related Solutions

A saving and loan association needs information concerning the checking account balances of its local customers....
A saving and loan association needs information concerning the checking account balances of its local customers. A random sample of 14 accounts was checked and yielded a mean balance of $785 and standard deviation of $289. Find a 96% confidence interval for the true mean checking account balance for local customers. a) Find the point estimate b) Find the critical value. c) Find the margin of error d) Construct the confidence interval e) Interpret the confidence interval
These have also been covered in The Lady Tasting Tea - and we've done a LOT...
These have also been covered in The Lady Tasting Tea - and we've done a LOT of histograms in this class because of this very week. NOW you see why we take so much time in constructing those histograms - they can show us the distribution of a data set in an easy to recognize format. For this week's Excel assignment, I'm going to let you use any of the data sets we have practiced with so far in class....
I have this program in C that takes three char arrays that each have a first...
I have this program in C that takes three char arrays that each have a first and last name. I have two functions that reverese the name and change it to all upper case. I have the program completeed but need to change both functions to use pointers instead of arrays. I will bold the functions I need to use pointers. #include <stdio.h> void upper_string(char []); int main() { char name1[100]="John Smith"; char name2[100]="Mary Cohen"; char name3[100]="Carl Williams"; upper_string(name1);// calling...
Write a paragraph each on how computers have affected the following: 3. Insurance claims 4.Accounting done...
Write a paragraph each on how computers have affected the following: 3. Insurance claims 4.Accounting done in the medical office (e.g. pegboard system versus current methods of financial management) 5. Ethical considerations related to technology
Assume you have a saving account that pays 4% APR. If you have a beginning balance...
Assume you have a saving account that pays 4% APR. If you have a beginning balance of$6000, How much do you need to save on a monthly basis in a saving account (add to your saving account) to have a down payment of $20000 for a house in 5 years
I have asked this question 4 times and no one has done it right yet!!!!! PLEASE...
I have asked this question 4 times and no one has done it right yet!!!!! PLEASE HELP ME I need a Risk Management Plan for a made up supply chain company. This should be several pages including: 1   INTRODUCTION.. 1 1.1         Purpose Of The Risk Management Plan. 1 2   risk management Procedure.. 1 2.1         Process. 1 2.2         Risk Identification. 1 2.3         Risk Analysis. 1 2.3.1    Qualitative Risk Analysis. 1 2.3.2    Quantitative Risk Analysis. 1 2.4         Risk Response Planning. 1 2.5        ...
What would have you done differently to successfully contain and solve the crisis in each of...
What would have you done differently to successfully contain and solve the crisis in each of these three countries? USA, UK, and Germany? the crisis is the 2007-2008 world financial crisis
I have an assignment that must be done on R/R studio R/RStudio - Chapter 4- Correlation...
I have an assignment that must be done on R/R studio R/RStudio - Chapter 4- Correlation and Regression Step 1 – Download and Install the R/RStudio software on your computer. The link and instructions to do that are on Blackboard under Course Information. Step 2 – Access the Data Sets in MyLab through StatCrunch. In chapter 4, a data set called “Used BMW prices 2017” is what we’ll use. Step 3 – When you open the data set in StatCrunch,...
Solve each measuring problem, or explain why it can’t be done. (You have unlimited water.) Using...
Solve each measuring problem, or explain why it can’t be done. (You have unlimited water.) Using 6 and 15 gallon jugs, measure (i) 3 gallons (ii) 4 gallons (iii) 5 gallons
4 point charges each have charge q = 4 nC, are located at r= 3, 4,...
4 point charges each have charge q = 4 nC, are located at r= 3, 4, 5, 6 m respectively. If r represents the distance from the origin, then total potential at the origin is: Select one:
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT