Lukket

Bank Account

This program will have VERY specific requirements so please read every sentence carefully.

1. There will be 3 classes. The Main class will be attached to this email. The only thing you are allowed to modify in this file is the package name. Everything else should not be changed.

2. There will be a Bank class which you will create. This class has a public instance method which is named "start" and accepts no arguments. The start method will be called repeatedly and will continued to be called until the statement "[url removed, login to view](0);" is executed. So once the start method reaches the end, it will be called again. You can test how this works by printing something on the screen in the start method.

3. There will also be an Account class. The Account class will keep track of the first name, last name, balance, and whether or not the account is closed.

4. The Bank class will have three Account objects in it named acct1, acct2, and acct3(NO arrays).

5. Your program will display a menu screen with 5 options. The first option will allow you to create a new Account. The second option will allow you to deposit money. The third will allow you to withdraw money. The fourth will allow you to close an account. The fifth will quit the program.

6. When you create an account you will ask for the first name. If the user enters only his or her first name then the program will store it and ask for the last name. If the user "accidentally" enters their full name ( If there is a space character in the input) then the program will split the name and store the information in the appropriate variables(it will not ask for the last name if this is the case). The program will then ask the starting balance of the account. You will store the first account in acct1, then acct2, then acct3. Variables of closed accounts can be used to create new accounts. Variables of open accounts CANNOT be used as new accounts.

7. When the user chooses the deposit option, the program will display all of the accounts that have been created. You will display the last name first, then a comma first name then a tab. then the balance Here is an example:

1. Arshad, Umar 200.0

The program will not display the accounts if they are closed or have not yet been created. Display an error message if there are no accounts open. The user will be asked to choose an account where they want to make a deposit. The program will then ask for the amount that will be deposited. We assume that the user will enter the correct values when asked for the amount. This value will be added to the balance of that account. You cannot deposit into a closed account.

8. Withdraw is the same as the deposit except the amount will be subtracted from the balance.

9. Closing the account will modify the variable which stores whether or not the account is open. This option will NOT set the account variable to null. You will display the accounts in the same way you did with the deposit. You cannot close an account if there is a positive or negative balance. You can only do it if the balance is 0.

10. The fifth option allows you to end the program. You can end the program by using the "[url removed, login to view](0);" statement.

11. Email me your .java file for the Bank and Account class with the Subject "Homework 4". Send me the files in a separate email. Print out and turn in your code as well.

Færdigheder: C programmering, Java, Javascript

Se mere: variables in programming, variable programming, variable in programming, value options, umar arshad, tab bank, start java programming, starting programming, public programming, programming variables, programming variable, programming statement, programming money, programming homework for money, programming classes, objects in programming, make money with java, make money programming, make money from programming, java programming test, java programming for money, java programming classes, if else c programming, how to start programming in java, how to quit

Om arbejdsgiveren:
( 0 bedømmelser ) Atlanta, United States

Projekt-ID: #952496

23 freelancere byder i gennemsnit $35 for dette job

it2051229

Hi, kindly check your inbox for my inquiries. Thanks.

$30 USD in 0 dage
(191 bedømmelser)
6.2
AshwinSen

Hello, Please view PMB. Ashwin

$50 USD på 1 dag
(39 bedømmelser)
5.7
deadhunt

Please check PMB.

$30 USD in 2 dage
(66 bedømmelser)
5.6
is00hcw

Hi, I am interested in your project.

$30 USD på 1 dag
(58 bedømmelser)
5.5
jeal4real

Check PMB for details

$30 USD på 1 dag
(11 bedømmelser)
4.4
webdesigner95

Hi, i will complete your project. see inbox

$30 USD på 1 dag
(9 bedømmelser)
3.3
Rifaii

Please check PMB.

$100 USD in 7 dage
(1 bedømmelse)
1.4
webcompute

Hello I 'm really interesed on your project.I've good experience of java Please check PM.

$50 USD på 1 dag
(1 bedømmelse)
1.2
HDYSoft

This project shouldn\'t be too difficult for me who have 4 years in Java Application Development.

$30 USD på 1 dag
(1 bedømmelse)
1.0
SuperSoftware

We have much experience with java and want to participate in your project.

$30 USD på 1 dag
(1 bedømmelse)
1.2
mbcellphone

I have a BS in Computer Science from University of Maryland. I'm currently pursuing my MS in Software Engineering at the University of Maryland.

$30 USD in 0 dage
(0 bedømmelser)
0.0
HBK1987

This can be easily done

$35 USD på 1 dag
(0 bedømmelser)
0.0
nomadsack

Seriously? It's not hard to do at all. I can teach you how to do it if you want.

$30 USD in 0 dage
(0 bedømmelser)
0.0
kzhuravl

Hi, I can complete your project. please, see pmb.

$30 USD in 0 dage
(0 bedømmelser)
0.0
threadnix

Hi, I'm ready to do your project.

$30 USD in 3 dage
(0 bedømmelser)
0.0
kaustabhDC

I can do this.

$30 USD på 1 dag
(0 bedømmelser)
0.0
hirashgeff

See the PMB

$30 USD på 1 dag
(0 bedømmelser)
2.0
adil34

I have already done many projects. i can easily make your project in 1 day with all your requirements.

$30 USD på 1 dag
(0 bedømmelser)
0.0
ShubhabrataKarma

I am confident of doing [url removed, login to view] waiting for your reply.

$30 USD in 3 dage
(0 bedømmelser)
0.0
ujjalmajumdar

I am seftware professional have more than 10 years of experience. I can halp u on this.

$30 USD på 1 dag
(0 bedømmelser)
0.0