Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/awkward-py/c-atm
https://github.com/awkward-py/c-atm
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/awkward-py/c-atm
- Owner: awkward-py
- Created: 2023-11-01T09:16:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-01T09:19:13.000Z (about 1 year ago)
- Last Synced: 2023-11-01T10:28:03.441Z (about 1 year ago)
- Language: C
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ATM Service
![ATM](https://cdn-icons-png.flaticon.com/512/965/965778.png)
## Introduction
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.## Features
- Check your account balance.
- Withdraw money from your account.
- Deposit money into your account.
- Exit the ATM service.## Requirements
- C Compiler (e.g., GCC)## Usage
1. Clone the repository or download the source code.
2. Compile the code using your C compiler.
```bash
gcc ATM.c -o ATM
```
3. Run the executable.
```bash
./ATM
```## Instructions
- 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)## Example
```
Please enter your debit card number: 1234
Please enter your 4-digit secret PIN: 1234Please choose an option:
1. Check Balance
2. Withdraw Money
3. Deposit Money
4. ExitEnter your choice: 1
Your balance is Rs. 12000
```## Contribution
Contributions are welcome! Feel free to open an issue or submit a pull request.## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.