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.
- 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.
- Java Development Kit (JDK) installed on your system.
- A Java IDE or text editor (e.g., IntelliJ IDEA, Eclipse, VS Code).
-
Clone the repository (or download the source code).
git clone https://github.com/manishkmr49/Simple--ATM--Application.git
-
Navigate to the project directory.
cd Simple--ATM--Application -
Compile the Java files.
javac ATM.java OptionMenu.java Account.java
-
Run the application.
java ATM
-
Main Menu:
- Type 1: Log in to an existing account.
- Type 2: Create a new account.
-
Account Access:
- Type 1: Access Checking Account.
- Type 2: Access Savings Account.
- Type 3: Exit.
-
Checking/Savings Account Menu:
- Type 1: View Balance.
- Type 2: Withdraw Funds.
- Type 3: Deposit Funds.
- Type 4: Transfer Funds.
- Type 5: Exit.
Two example accounts are pre-loaded into the system for testing purposes:
- Customer Number:
952141, PIN:191904 - Customer Number:
123, PIN:123
- 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.