/*
6. After a soda is "vended" update the "sale_total" and move the "sale_coins" into the "total_coins" for the machine
* A user adds coins and those are kept in an array on the object.
* An item in the machine has a cost.
! After an item is vended, change should be given...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.