Skip to content

This project gives the count of number of denominations will get for the entered amount. For example: If customer entered 10023 rupees, output will be like this: 1 notes of Rs 1, 1 notes of Rs 2, 0 notes of Rs 5, 0 notes of Rs 10, 1 notes of Rs 20, 0 notes of Rs 50, 0 notes of Rs 100, 0 notes of Rs 200, 0 notes of Rs 500, 5 notes of Rs 2000 Tota…

License

Notifications You must be signed in to change notification settings

voletiswaroop/ATM-dispencer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATM-dispencer

This project gives the count of number of denominations will get for the entered amount.

Example:

If customer entered 12717 rupees,

output will be:

  • 0 notes of Rs 1
  • 1 notes of Rs 2
  • 1 notes of Rs 5
  • 1 notes of Rs 10
  • 0 notes of Rs 20
  • 0 notes of Rs 50
  • 0 notes of Rs 100
  • 1 notes of Rs 200
  • 1 notes of Rs 500
  • 6 notes of Rs 2000
  • Total note dispensed: 11

Setup

install

Clone the repo git clone https://github.com/voletiswaroop/ATM-dispencer.git
cd ATM-dispencer

Use node version v8.9.4

$ npm i
$ npm start

This fires up the development server on port 3000.

You can now choose to either start developing your react application or to enhance the express server according to your needs.

The react app's entry point is src/shared/App.js and the express server is started from src/index.js.

Copyright and License

Copyright 2019 Voleti Swaroop. Code released under the MIT license.

About

This project gives the count of number of denominations will get for the entered amount. For example: If customer entered 10023 rupees, output will be like this: 1 notes of Rs 1, 1 notes of Rs 2, 0 notes of Rs 5, 0 notes of Rs 10, 1 notes of Rs 20, 0 notes of Rs 50, 0 notes of Rs 100, 0 notes of Rs 200, 0 notes of Rs 500, 5 notes of Rs 2000 Tota…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published