can someone please help I need all this stuff printed out where i can punch in s
ID: 3845307 • Letter: C
Question
can someone please help I need all this stuff printed out where i can punch in stuff and get results.
program it using Java
Upon starting the program, the user should be asked if they are an existing member of the "bank".
- If the user indicates that they are not a member, they should be prompted to enter their information for registration.
- If the user is a member they should be prompted to enter their login credentials (username and password).
- If the credentials are incorrect, they should be prompted again or kicked back to the main menu (after three tries?).
- If the credentials are correct, they should be taken to the members' menu where they have the options of
1. view a list of their accounts
2. make a deposit
3. make a withdrawal
4. open a new account
5. close an existing account
6. logout (return to main menu)
After completing one of the actions (except logging out), they should be returned to the members' menu.
Design:
When the program starts, it should load members and accounts from a save file.
When the program exits, it should save members and accounts to a save file.
The program should contain a class for accounts and a class for members.
The account class should contain:
- an id number
- a balance
- a type (String)
- a link to the owner's object
- methods to deposit and withdraw money
- any other variables/methods necessary to the function of the program
The member class should contain:
- an id number
- a username (String)
- a password (String)
- a name
- an array of accounts owned by the member
- any other variables/methods necessary to the function of the program
The main class should contain an array of members and variables for any other data it must keep track of
Explanation / Answer
code:
}
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.