I noticed a small error in the video. By adding “max =max + 1” just after " void start" the game will start with:
The highest number is 1001 <== !!
Therefore max = max + 1 should be after the print statements, not before
Small thing, regard this post more as my enthusiastic entrance and maybe it helps some other starting student.
Great fun doing this course!
1 Like
Well… you could do that, or just assume that the Max variable will always
be +1 to the actual number (coded accordingly, of course), and just -1 on
the print statements to compensate.
Kazhik
August 16, 2017, 6:46am
3
Ah, brilliant. Thanks for explaining that, I was thoroughly stumped.
MewMew
September 29, 2017, 5:11am
4
I saw this too, it would be good if the instructor would correct it. I imagine it will cause confusion for people that are totally new to programming.
Edit
He does correct this error a video or two later