Welcome to the ATM Service! This simple program simulates an ATM machine, allowing users to check their balance, withdraw money, deposit money, and exit the service. It's a basic example to help you understand how C programming can be used to create interactive applications.
- Check your account balance.
- Withdraw money from your account.
- Deposit money into your account.
- Exit the ATM service.
- C Compiler (e.g., GCC)
- Clone the repository or download the source code.
- Compile the code using your C compiler.
gcc ATM.c -o ATM
- Run the executable.
./ATM
- Enter your debit card number.
- Enter your 4-digit secret PIN (Default PIN: 1234).
- Choose an option from the main menu.
- Check Balance (Option 1)
- Withdraw Money (Option 2)
- Deposit Money (Option 3)
- Exit (Option 4)
Please enter your debit card number: 1234
Please enter your 4-digit secret PIN: 1234
Please choose an option:
1. Check Balance
2. Withdraw Money
3. Deposit Money
4. Exit
Enter your choice: 1
Your balance is Rs. 12000
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.