This is a simple program written in Java that simulates a bank account π³. The program includes various functionalities such as:
- Main menu
- Log in
- Register
- Load data
- Download data to TXT
- Quit
- Registration section
- Account type: Normal, Student, Elderly
- First name
- Last name
- Gender
- Age
- Address
- Username
- Password
- Account menu
- Withdraw
- Deposit
- Balance
- Account settings
- Go back
- Account settings menu:
- Owner data
- Change data
- Freeze account
- Go back
- Change data menu
- First name
- Last name
- Gender
- Age
- Address
- Username
- Password
- Go back
π Getting Started To get started, clone or download the repository and run the main class. You will be prompted to enter the main menu.
π Password Reset If a user enters the wrong password during the login process, they have the option to reset their password by typing "reset". The program will then generate a new password for the user.
π Usage The program has several menus with various options:
Main menu:
- Log in: Allows the user to log in to their account
- Register: Allows the user to register a new account
- Load data: Allows the user to load data from a file
- Download data to txt: Allows the user to download account data to a text file
- Quit: Exits the program
Registration section:
- Account type: Allows the user to select Bank Account type
- Bank account types: Normal bank account. Student bank account. Elderly bank account.
- First name: Allows the user to enter their first name
- Last name: Allows the user to enter their last name
- Gender: Allows the user to enter their gender
- Age: Allows the user to enter their age
- Address: Allows the user to enter their address
- Username: Allows the user to enter their username
- Password: Allows the user to enter their password
Account menu:
- Withdraw: Allows the user to withdraw money from their account
- Deposit: Allows the user to deposit money into their account
- Balance: Displays the current balance of the account
- Account settings: Allows the user to access the account settings menu
- Go back: Returns the user to the main menu
Account settings menu:
- Owner data: Displays the account owner's data
- Change data: Allows the user to change their account data
- Freeze account: Allows the user to freeze their account
- Go back: Returns the user to the account menu
Change data menu:
- First name: Allows the user to change their first name
- Last name: Allows the user to change their last name
- Gender: Allows the user to change their gender
- Age: Allows the user to change their age
- Address: Allows the user to change their address
- Username: Allows the user to change their username
- Password: Allows the user to change their password
- Go back: Returns the user to the account settings menu
βοΈ Usage of Load data button:
- Create: customer_data.txt file
- Correct Location: /src/main/java/com/mycompany/bank/account/customer_data.txt
- Correct structure of lines in file:
-
- ID
-
- Account type: Normal, Student, Elderly
-
- First name
-
- Last name
-
- Gender
-
- Age
-
- Address
-
- Username
-
- Password
βΉοΈ Bank Account types and privileges:
-
- The type of owners of a Normal bank account:
-
- A bonus of 500 euros from our bank to your new account.
-
- 3% Commission percentage of the amount of withdrawal.
-
- The type of owners of a Student bank account:
-
- A bonus of 950 euros from our bank to your new account.
-
- 2% Commission percentage of the amount of withdrawal.
-
- The type of owners of a Elderly bank account:
-
- A bonus of 1500 euros from our bank to your new account.
-
- 1% Commission percentage of the amount of withdrawal.
β οΈ Note : This program is for educational purposes only and should not be used for real financial transactions. π³π°πΈπ΄
