ATM Management System Project in Java
This project is a simple Java program simulating an ATM machine. It allows users to perform basic ATM functions such as withdrawing money, depositing money, and checking their balance. The program runs in a loop, providing a menu for the user to choose their desired operation.
- Withdraw Money: Allows the user to withdraw a specified amount if the balance is sufficient.
- Deposit Money: Allows the user to deposit a specified amount into their account.
- Check Balance: Displays the current balance.
- Exit: Exits the program.
- Java Development Kit (JDK) installed on your system.
- A Java IDE or a text editor to view and edit the code.
- Command line or terminal to compile and run the program.
- Clone the repository to your local machine:
git clone https://github.com/manishmuchhadiya/ATM-Management-System.git
- Navigate to the project directory:
cd ATM-Management-System
- Compile the Java program:
javac ATM_Machine.java
- Run the compiled program:
java ATM_Machine
When you run the program, you will be presented with a menu of options:
ATM Machine
Choose 1 for Withdraw
Choose 2 for Deposit
Choose 3 for Check Balance
Choose 4 for EXIT
Choose the operation:
- To withdraw money, enter
1
and then the amount to withdraw. - To deposit money, enter
2
and then the amount to deposit. - To check balance, enter
3
. - To exit the program, enter
4
.
ATM Machine
Choose 1 for Withdraw
Choose 2 for Deposit
Choose 3 for Check Balance
Choose 4 for EXIT
Choose the operation: 2
Enter money to be deposited: 500
Your Money has been successfully deposited
ATM Machine
Choose 1 for Withdraw
Choose 2 for Deposit
Choose 3 for Check Balance
Choose 4 for EXIT
Choose the operation: 3
Balance: 500
Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.
If you have any questions or suggestions, feel free to reach out to me at [email protected].
Happy coding!