Coder Social home page Coder Social logo

atm-machine's Introduction

ATM Machine Project

The ATM Machine project is a Java-based console application that simulates the functionality of an Automated Teller Machine (ATM). The project is implemented using object-oriented programming (OOP) concepts to provide a modular and organized structure. It allows users to perform basic banking operations such as withdrawing cash, depositing funds, checking account balance, and changing the PIN.

Features

  • User Authentication: The ATM Machine authenticates users by validating their account number and PIN.
  • Cash Withdrawal: Users can withdraw cash from their account, and the available balance will be updated accordingly.
  • Funds Deposit: Users can deposit funds into their account, and the deposited amount will be added to the account balance.
  • Account Balance Inquiry: Users can check their account balance to view the available funds.
  • PIN Change: Users can change their PIN to enhance account security.
  • Error Handling: The application handles errors, such as insufficient funds and incorrect PIN entries, providing appropriate error messages to the user.

Setup and Execution

To run the ATM Machine project, follow these steps:

  1. Ensure you have Java Development Kit (JDK) installed on your system.
  2. Download or clone the project files from the repository: git clone https://github.com/shiva2478/ATM-Machine/.
  3. Navigate to the project directory: cd atm-machine.
  4. Compile the Java source files: javac *.java.
  5. Run the application: java ATMMain.

Usage

  1. The ATM Machine will prompt you to enter your account number.
  2. Enter your account number using the console.
  3. The ATM Machine will then ask you to enter your PIN.
  4. Enter your PIN using the console.
  5. Once authenticated, you will see a menu of available operations.
  6. Choose the desired operation by entering the corresponding number.
  7. Follow the prompts to complete the selected operation.
  8. After completing the operation, the menu will be displayed again, allowing you to choose another operation or exit the ATM Machine.

Class Structure

The ATM Machine project follows the following class structure:

  • PIN: Contains the main method and handles the overall flow of the application.
  • Deposit Amount: Represents the ATM object and encapsulates its behavior and properties.
  • Withdraw Amount: Represents the ATM object and encapsulates its behavior and properties.
  • BankAccount: Represents a bank account and contains account-specific information and operations.

License

The ATM Machine project is licensed under the MIT License.

Contact

If you have any questions or suggestions regarding the ATM Machine project, feel free to contact Shiva at [email protected]. and my linkedin profile : https://www.linkedin.com/in/shiva2478/

Enjoy using the ATM Machine!

atm-machine's People

Contributors

shivajr78 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.