Advertisement
KodingKid

Javascript price calculator

Apr 2nd, 2021
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cost = 9.99;
  2. tax/theft = 0.15;
  3. final_price = cost + (cost * tax/theft);
  4. //always remember that tax = theft ;)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement