Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/awkward-py/c-atm


https://github.com/awkward-py/c-atm

Last synced: about 5 hours ago
JSON representation

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: 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
```

## 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.