Skip to content

kareem1207/Bank-Algorithm-in-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bank Account Management Program

Welcome to the Bank Account Management Program! This Java application allows users to manage their bank accounts by performing essential operations such as checking balance, depositing, and withdrawing money. The program also includes a secure PIN generation and verification system.

Features

  • Secure PIN Generation: Users can set a 4 or 6 digit PIN for added security.
  • Balance Inquiry: Easily check your current bank balance.
  • Withdraw Funds: Withdraw any amount, with checks in place to prevent overdrawing.
  • Deposit Funds: Deposit any amount to your account seamlessly.
  • User-Friendly Interface: Simple command-line interface for ease of use.

Getting Started

Prerequisites

Make sure you have Java installed on your machine. You can download the latest version from Java SE Downloads.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/SubashSK777/BankAccountProgram.git
  2. Navigate to the project directory:

    cd BankAccountProgram
  3. Compile the program:

    javac BankAccountprogram.java
  4. Run the program:

    java BankAccountprogram

Usage

  1. Enter your initial bank balance when prompted.
  2. Generate a secure PIN by specifying the desired length (4 or 6 digits).
  3. Choose from the available options:
    • Check balance
    • Withdraw funds
    • Deposit funds
  4. Follow the prompts to perform the desired operation.

Example

Enter your bank balance 
1000.00
Enter how many digits your upi pin is it can be 4 or 6 
4
Enter your bank pin (It should be of 4 digits only) 
1234
Choose an option 
1 ---- check your bank balance
2 ---- withdraw amount into your bank account
3 ---- deposit amount into your account

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, please fork the repository and submit a pull request.

Acknowledgments

  • Thanks to Java Programming Language for the robust tools and libraries that made this program possible.
  • Inspiration from various coding resources and communities.

About

A Java code to understand the working of bank atm machine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages