Build JavaScript algorithm to calculate change due
- created Object for currency values, using factor of 100 to address floating point decimals for currency
- created Array for currency values, using Math.floor and toFixed(2) to address floating point decimals