logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

You are writing a program that will act like an ATM machine

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

You are writing a program that will act like an ATM machine. In order to access the ATM, the customer must enter their user name and their passcode. After 3 incorrect attempts at entering the username 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. For each of the functions listed below, you must submit a screenshot of every execution showing that your code works with data of your choice. You may place all of the screenshots (or snippets) in a single Word document. If you choose, you can submit JPEGs of your executions. You must also include a screenshot of your use case diagram.

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.

(5/5)
Attachments:

Expert's Answer

1311 Times Downloaded

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

1311 Times Downloaded

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

894 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

653 Answers

Hire Me
expert
Husnain SaeedComputer science

770 Answers

Hire Me
expert
Atharva PatilComputer science

978 Answers

Hire Me

Get Free Quote!

401 Experts Online