Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a NetBeans Bank program that repeatedly prompts the user for a task selection. The tasks and their functions are listed below: 1. Add Account

Write a NetBeans Bank program that repeatedly prompts the user for a task selection.

The tasks and their functions are listed below:

1. Add Account When option 1 is selected the user is prompted to enter the account name and a beginning balance. The account is assign a sequential number. IE: The first time that an account is created, the account number is 1, the next account number is 2, etc. Print the users account number so that they know what it is for the below functions.

2. Find Account When option 2 is selected the user is prompted to enter an account number. The name and balance of that account is then printed for the user.

3. Deposit Money When option 3 is selected the user is prompted to enter an account number and a dollar amount. That dollar amount is then added to the balance of the account that corresponds to the account number entered.

4. Withdraw Money When option 4 is selected the function is almost exactly the same as option 3 except that the dollar amount is subtracted from the balance of the account.

(I am wanting to try using a While Loop to control the menu, but I'm still having trouble. Could someone help?)

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

Oracle Autonomous Database In Enterprise Architecture

Authors: Bal Mukund Sharma, Krishnakumar KM, Rashmi Panda

1st Edition

1801072248, 978-1801072243

More Books

Students also viewed these Databases questions

Question

Is there a clear hierarchy of points in my outline?

Answered: 1 week ago