Question: CSCI 1 3 0 1 - Spring 2 0 2 4 Homework 9 - Assigned February 2 8 , due March 1 3 Create a
CSCI Spring
Homework Assigned February due March
Create a program that simulates a ATM.
The user will have an account that starts with no money. The user may:
Check their balance
Make a deposit
Make a withdraw
Quit
When checking their balance you must print out the account balance with exactly two digits after the decimal.
When making a deposit the user must enter a positive number. The amount entered should be added to their account.
When making a withdraw, the user must enter a positive number that doesn't exceed their balance. If the user selects an invalid option then the program should information the user that is not allowed to select that.
The program should keep asking the user for input until the user decides to quit.
If the user makes any of the error listed above, the program should inform the user of the error and return to the menu.
Your grade will be based on good programming technique comments variable names, assumptions, etc. correct outputs correct mathematical computations and correct program output good user interfaceexplanations
As part of your upload include your java file and a picture of the programming being run on your machine a screen capture like the example given is fine.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
