0
Can anyone help me write a little code ?
So i wanna write a code that can guess a number between a given range, only using if and else. Can it be done ? Can anyone write it for me ? Ive been thinking how to do it but i cant seem to find a way.
5 ответов
+ 4
https://code.sololearn.com/cgCMvaw3aqJ3/?ref=app (will only run in a console)
+ 2
PINGU You're welcome ☺️
+ 1
Do you want the user to guess, or to give the number and the computer guesses?
Can you use functions? With no functions nor loops, the user will have a finite number of guesses, but it could be done.
What language?
+ 1
Anna ty very much, this is exactly what i wanted. The best. Ty for ur time.
0
You can't even use while?