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.

26th Jan 2019, 4:49 PM
PINGU
5 ответов
+ 4
26th Jan 2019, 5:41 PM
Anna
Anna - avatar
+ 2
PINGU You're welcome ☺️
26th Jan 2019, 9:53 PM
Anna
Anna - avatar
+ 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?
26th Jan 2019, 5:28 PM
James
James - avatar
+ 1
Anna ty very much, this is exactly what i wanted. The best. Ty for ur time.
26th Jan 2019, 9:38 PM
PINGU
0
You can't even use while?
26th Jan 2019, 5:14 PM
HonFu
HonFu - avatar