Skip to content

riyantowibowo/atm-cli-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

atm-cli-javascript

ATM (Automated Teller Machine) CLI (Command Line Interface) with Javascript

Demo

https://www.creativebrain.web.id/demo/atm-cli-javascript/

Command Line Interface (CLI) to simulate an interaction of an ATM with a retail bank.

Commands

  • login [name] - Logs in as this customer and creates the customer if not exist

  • deposit [amount] - Deposits this amount to the logged in customer

  • withdraw [amount] - Withdraws this amount from the logged in customer

  • transfer [target] [amount] - Transfers this amount from the logged in customer to the target customer

  • logout - Logs out of the current customer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published