+ 1
Whats wrong with it?
The user has to guess a number between 1-100 and has 10 chances of guessing. A wrong answer gives -1 point and a correct answer 2 points and at the end the total points get printed, i tried to add a counter (c) that counts and adds all of the points but in the end i only get -1 or 2. https://code.sololearn.com/c00gS0H6Dk30/?ref=app
1 ответ