hello, im a little stuck on money maker project. it looks that i did everything right but it calculates wrong , it seems to add 1 gold coind everytime etc…
hope someone can help me , (look at the picture there you can see the code i made and in the console u see what happens if i put in 16 and 28 ,
thanks <3
(my code: https://gist.github.com/1ae64242e67e0e10f4806e80e4700e1e )