This application takes a currency amount in dollars and cents and then converts them to an amount only containing cents. After this conversion, it then takes the coins and breaks them down into the smallest amount of coins possible to represent that currency amount using the following coins:
- Quarters
- Dimes
- Nickels
- Pennies
It will return a string value that has the amount of quarters, dimes, nickels and pennies in an interpolated string representing the smallest amount of possible coins for that dollar amount.
To run this application locally, you can clone this repository and then run the following commands:
- npm install
- npm run dev
Navigate to localhost:8080. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.