Skip to content

gasimovv21/Bank-Account-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’° EG Bank 🏦 (Java)

This is a simple program written in Java that simulates a bank account πŸ’³. The program includes various functionalities such as:

  1. Main menu
    • Log in
    • Register
    • Load data
    • Download data to TXT
    • Quit
  2. Registration section
    • Account type: Normal, Student, Elderly
    • First name
    • Last name
    • Gender
    • Age
    • Address
    • Username
    • Password
  3. Account menu
    • Withdraw
    • Deposit
    • Balance
    • Account settings
    • Go back
  4. Account settings menu:
    • Owner data
    • Change data
    • Freeze account
    • Go back
  5. 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:
    1. ID
    1. Account type: Normal, Student, Elderly
    1. First name
    1. Last name
    1. Gender
    1. Age
    1. Address
    1. Username
    1. Password

ℹ️ Bank Account types and privileges:

    1. The type of owners of a Normal bank account:
      1. A bonus of 500 euros from our bank to your new account.
      1. 3% Commission percentage of the amount of withdrawal.
    1. The type of owners of a Student bank account:
      1. A bonus of 950 euros from our bank to your new account.
      1. 2% Commission percentage of the amount of withdrawal.
    1. The type of owners of a Elderly bank account:
      1. A bonus of 1500 euros from our bank to your new account.
      1. 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. πŸ’³πŸ’°πŸ’ΈπŸ’΄

πŸŽ“ Project by Eltun Gasimov

University of economics and human science in Warsaw

University of economics and human science in Warsaw

About

This project is a simple Java program that simulates a bank account. It includes classes for creating and managing a bank account, including methods for depositing and withdrawing funds, checking the account balance, and displaying account information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages