nizamuldin-atm-machine
v1.0.0
Published
This project is a simple command-line application that simulates an ATM machine. The user can interact with the machine by entering their pin code and choosing an operation such as depositing, withdrawing, or checking their balance.
Downloads
2
Readme
ATM Machine Project
This project is a simple command-line application that simulates an ATM machine. The user can interact with the machine by entering their pin code and choosing an operation such as depositing, withdrawing, or checking their balance.
Getting Started
- Clone the repository to your local machine using Git:
git clone https://github.com/Mn-2k24/atm-machine-project.git
- Navigate to the project directory:
cd atm-machine-project
- Install the required dependencies:
npm install
- Run the application:
node index.js
Using the ATM Machine
Enter your pin code when prompted.
Choose an operation from the list:
- Deposit: Enter the amount you want to deposit.
- Withdraw: Enter the amount you want to withdraw.
- Check Balance: This will display your current balance.
- Exit: This will exit the application.
Follow the prompts for each operation.
Contributing
Fork the repository.
Create a new branch for your feature or bug fix:
git checkout -b my-feature-branch
- Make your changes and commit them:
git commit -am "Add my feature"
- Push your changes to your fork:
git push origin my-feature-branch