Discount Calculator
nionata opened this issue · comments
- Create a JS object that is init w/ profit margin, max/min customers, and profit increase goal
- Internally map the profit margin to a list of discounts/percent of sales need to maintain
- Create a function that takes profit margin and will produce number of ppl needed to break even and number of people needed to hit the profit goal
- Add this to the public folder in server
- Add a script import in index.html