A simple application that given a number of pennies will calculate the minimum number of Sterling coins needed to make that amount.
Example: 123p = 1 x £1, 1 x 20p, 1 x 2p, 1 x 1p £12.34 = 6 x £2, 1 x 20p, 1 x 10p, 2 x 2p
The application was developed using JavaScript and the user interface (UI) was created using HTML/CSS and Bootstrap. The application was developed on Mac OS X 10.12.6 and tested on Safari 11.0.2, Mozilla FireFox 57.0.0 and Chrome 63.0.32. The application was tested using Jasmine JS. The user interface is the index.html located in the root folder. The source code is located in the 'src' folder and the test specification is located in the 'spec' folder.
In order to run the application you can open the online version available on this link https://mahmoudabulebdeh.github.io/minimum-coins-calculator/ using any web browser.
To run the unit tests online visit this link https://mahmoudabulebdeh.github.io/minimum-coins-calculator/spec/SpecRunner.html, or open the SpecRunner.html located in the spec folder using any web browser on your local web server environment.
The application has been tested on Mac OS X 10.12.6 and should be running error free on Safari 11.0.2, Mozilla FireFox 57.0.0 and Chrome 63.0.32.
The other option to run the application, is to download the source code on your local web server environment. Although, make sure your machine is connected to the internet. The home page is the index.html page in the root folder and the test runner is the SpecRunner.html page located in the spec folder.