Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discount Calculator #29

Closed
5 tasks done
nionata opened this issue Jun 25, 2020 · 0 comments
Closed
5 tasks done

Discount Calculator #29

nionata opened this issue Jun 25, 2020 · 0 comments
Assignees

Comments

@nionata
Copy link
Owner

nionata commented Jun 25, 2020

  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants