a program that accepts an array of items, counts each of every type of item then calculates the pre-discounted total & discounted total. Discount applies to specific quantity of only specified discounted items.
JavaScript 63.85%HTML 36.15%
pricecalculator's Introduction
priceCalculator
set up instruction
clone repo to your desktop and launch the app from index.html using your local server.
open your google developer tools & enter console to view results:
-pre-discounted price total
-discounted price total.
-non-discounted item prices.
-total saved after applied discount.