Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/genovaempera/atm-money-changer
A change-making web app that gives out change for a specific amount of money
https://github.com/genovaempera/atm-money-changer
angular simple-app typescript web-application
Last synced: about 10 hours ago
JSON representation
A change-making web app that gives out change for a specific amount of money
- Host: GitHub
- URL: https://github.com/genovaempera/atm-money-changer
- Owner: GenovaEmpera
- Created: 2019-04-01T16:57:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:20:17.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T18:42:51.383Z (over 1 year ago)
- Topics: angular, simple-app, typescript, web-application
- Language: TypeScript
- Homepage: https://genovaempera.github.io/ATM-money-changer/public
- Size: 2.8 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ATM
ATM money-changer is a change-making machine that gives out change for a specific amount of money.
## Conditions:
* Infinite amount of coins
* Available denominations: [50, 10, 5, 1]
* Gives out the minimum number of coins using the maximum number of denominations.
For instance, if you input 20 the machine gives out [10x1, 5x1, 1x5]. Not [10x2] or [10x1, 5x2].
* Maximum sum length - 5.This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.5.
## Command line
* Prerequisites
* Install npm ([instruction](https://www.npmjs.com/get-npm)).
* Install angular cli:
```
npm install -g @angular/cli
```
* Run
```
ng serve
```
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.