Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago