Skip to content

Java program simulating ATM functionalities: balance check, withdraw, deposit, loan request. Secure PIN verification. Easy-to-use menu interface.

Notifications You must be signed in to change notification settings

manishpxl/Simple--ATM--Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATM Application

This is a simple ATM application written in Java. The application allows users to create accounts, log in, view balances, withdraw funds, deposit funds, and transfer funds between accounts.

Features

  • Create a new account with a customer number and PIN.
  • Log in using a customer number and PIN.
  • Access checking and savings accounts.
  • View account balances.
  • Withdraw and deposit funds.
  • Transfer funds between checking and savings accounts.

Prerequisites

  • Java Development Kit (JDK) installed on your system.
  • A Java IDE or text editor (e.g., IntelliJ IDEA, Eclipse, VS Code).

How to Run

  1. Clone the repository (or download the source code).

    git clone https://github.com/manishkmr49/Simple--ATM--Application.git
  2. Navigate to the project directory.

    cd Simple--ATM--Application
  3. Compile the Java files.

    javac ATM.java OptionMenu.java Account.java
  4. Run the application.

    java ATM

Usage

  1. Main Menu:

    • Type 1: Log in to an existing account.
    • Type 2: Create a new account.
  2. Account Access:

    • Type 1: Access Checking Account.
    • Type 2: Access Savings Account.
    • Type 3: Exit.
  3. Checking/Savings Account Menu:

    • Type 1: View Balance.
    • Type 2: Withdraw Funds.
    • Type 3: Deposit Funds.
    • Type 4: Transfer Funds.
    • Type 5: Exit.

Example Accounts

Two example accounts are pre-loaded into the system for testing purposes:

  1. Customer Number: 952141, PIN: 191904
  2. Customer Number: 123, PIN: 123

Code Overview

  • ATM.java: Contains the main method to start the application.
  • OptionMenu.java: Contains the main menu and options for account management.
  • Account.java: Represents an account with methods for balance management and transactions.

Feel free to customize this README file according to your specific needs.

About

Java program simulating ATM functionalities: balance check, withdraw, deposit, loan request. Secure PIN verification. Easy-to-use menu interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages