Question: CSCI 1 3 0 1 - Spring 2 0 2 4 Homework 9 - Assigned February 2 8 , due March 1 3 Create a

CSCI 1301- Spring 2024
Homework 9- Assigned February 28, due March 13
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 interface/explanations.)
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.)
 CSCI 1301- Spring 2024 Homework 9- Assigned February 28, due March

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!