Bank Account Final


Objective

Create a bank account management system using Java programming.

When the program starts, each of the 10 accounts should be built from the account spreadsheet containing all of the data. After the accounts are loaded in, the user should be prompted to log in by first entering their account ID and then their password. If the account id does not exist, the user should be told and then prompted to try again. If the password is incorrect, they should be prompted to try again.

Once logged in, the user should have 6 options: withdraw money, deposit money, transfer money, get balance, log out, change account holder name, and change password. After the user completes any of these actions, except for logging out, they should be sent back to the main menu. After any change is made to an account, the spreadsheet should be changed and saved to reflect that change so that when I restart the program, the changes are still there.


If an attempt is made to withdraw or transfer money from an account that does not required funds

10 accounts

    • Account ID (8 digit)
    • Account holder name
    • Password
    • Balance

Methods

    • Log in
    • Log out
    • Main Menu
    • Withdraw money
    • Deposit money
    • Transfer money
    • Get Balance
    • Change account holder name
    • Change password
    • Load Accounts
    • Save Accounts


Checklist

1. Create a new Java project

2. Edit your classpath file to include the Apache POI library

3. Create an Account class that has the four pieces of data required (ID, account holder name, password, balance)

4. Create an array of Accounts of size 10 in your main

5. Initialize the 10 account objects using the data from the spreadsheet in your main

6. Create a log-in prompt that checks if the ID and Password entered matches any of the 10 accounts

7. Create functions in the Account class for all account actions (withdraw, deposit, transfer, get balance, change account holder name, change password

8. Create a Main Menu prompt that allows the use to use any of the Account functions for the currently logged-in account

9. Create an log out option in the Main Menu that returns the user to the log-in prompt.

10. Create an Exit option for the Main Menu that closes the program.

Accounts Spreadsheet


Programming Final.xlsx