This was a freshmen University Programming Introduction Course Project
Please use this code for personal use only and if you use this code for a university project i am not responsible if you get a zero 😁
This repository contains a simple command-line program for ATM services. It allows users to perform various banking operations such as balance inquiry, deposits, withdrawals, bill payments, and more.
- Cardless Services: Users can perform transactions using their account number and PIN.
- Card Services: Users can perform transactions using their ATM card details.
- Balance Inquiry: Users can check their account balance.
- Deposits: Users can deposit money into their account.
- Withdrawals: Users can withdraw money from their account.
- Bill Payments: Users can pay their bills using the ATM services.
- Loan Services: Users can view loan details and make monthly payments.
- Smart Wallet Services: Users can perform transactions using their smart wallet.
To use this ATM services program, follow these steps:
- Clone the repository:
git clone https://github.com/hamdiitarek/ATM-Machine.git
- Navigate to the project directory:
cd ATM-Machine
- Compile the program:
gcc Source.c -o ATM-Machine
- Run the program:
./ATM-Machine
Upon running the program, you will be prompted to choose between cardless services and card services. Select the appropriate option by entering the corresponding number.
For cardless services:
- Enter your account number.
- Enter your 4-digit PIN.
- Follow the on-screen instructions to perform transactions.
For card services:
- Enter your card username.
- Enter your bank name.
- Enter your card number.
- Enter the expiry date (month and year).
- Enter the 3-digit CVV.
- Enter your 4-digit PIN.
- Follow the on-screen instructions to perform transactions.
Please note that this is a simplified version of an ATM program and does not connect to an actual banking system. The purpose is to demonstrate basic programming concepts.
Contributions to this project are welcome. If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.
This project is licensed under the MIT License.
To test the ATM services program, follow these steps:
- Compile and run the program as described in the Getting Started section.
- Choose cardless services.
- Enter your account number: [999111222333].
- Enter your 4-digit PIN: [9123].
- Follow the on-screen instructions to perform various transactions such as balance inquiry, deposits, withdrawals, bill payments, etc.
Ensure that the program behaves as expected, produces the correct output, and handles edge cases gracefully.
Please note that this is just an example test case, and you should include additional test cases to thoroughly test the functionality of the program.