code_with-riaz_hussain.cli-atm-machine
v1.0.0
Published
---
Downloads
3
Readme
ATM Machine
This is a simple ATM Machine CLI application written in TypeScript. It allows users to perform basic ATM operations such as checking balance, withdrawing cash, and fast cash withdrawal.
Features
- PIN Verification: Users need to enter a PIN to access the ATM functionalities. The default PIN is
2001
. - Balance Inquiry: Users can check their account balance.
- Withdrawal: Users can withdraw a specified amount from their account.
- Fast Cash: Users can quickly withdraw preset amounts of cash (500, 1000, 3000, 5000, 10000).
- Security: PIN input is masked for security purposes.
Getting Started
Prerequisites
- Node.js installed on your machine
Installation
Clone the repository:
git clone https://github.com/Riaz-Hussain-Saifi/ATM-Machine.git
Navigate to the project directory:
cd ATM-Machine
Install dependencies:
npm install
Usage
Run the application:
npm start
Follow the on-screen prompts to interact with the ATM.
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or create a pull request.