Skip to content

This Java program replicates an ATM's functions for checking balance, withdrawing, and depositing money. It prompts users for a PIN and presents a menu for their chosen actions. The system ensures transaction integrity, validates withdrawal requests against available balances, and manages account balances through class attributes.

Notifications You must be signed in to change notification settings

viku-tiwary/ATMmachine.java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATM Simulation Program

This Java program simulates basic ATM functionalities such as checking balance, withdrawing money, and depositing money. Users are prompted to enter their PIN to access the ATM services.

Usage:

  1. Run the ATMmachine.java file to start the program.
  2. Follow the prompts to enter the PIN and navigate through the ATM menu options.
  3. Select the desired action by entering the corresponding option number.

Features:

  • PIN Verification: Users must enter the correct PIN to access the ATM services.
  • Menu Navigation: Users can select from options to check balance, withdraw money, deposit money, or exit.
  • Balance Checking: Allows users to check the current account balance.
  • Money Withdrawal: Enables users to withdraw money from their account, ensuring sufficient balance.
  • Money Deposit: Facilitates depositing money into the account.

Requirements:

  • Java Development Kit (JDK) installed on your system.
  • Text editor or Integrated Development Environment (IDE) to view and edit the source code.

Instructions:

  1. Open the ATMmachine.java file in a Java-supported IDE or text editor.
  2. Compile and run the program.
  3. Follow the on-screen instructions to interact with the ATM simulation.

Notes:

  • The default PIN is set to xxxx. You can modify it within the ATM class.
  • The account balance starts at 0.0 and can be updated through deposit and withdrawal operations.

Author:

Vivek Kumar **Contact: 7065164927 **

[email protected] Feel free to modify and enhance the program according to your needs!

About

This Java program replicates an ATM's functions for checking balance, withdrawing, and depositing money. It prompts users for a PIN and presents a menu for their chosen actions. The system ensures transaction integrity, validates withdrawal requests against available balances, and manages account balances through class attributes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages