To return "You Win!", which value should you choose for
entry
?
1 2 3 4 5 6 7 |
|
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I don't know much about computer science, but basically it says its going to keep looping when it says return playGame (entry-4) and subtract 4 from your number every time it loops until it gets either 1 or 0. Therefore, you want to choose a number that can be divided by 4 and have a remainder of 1 so you win :)