0
Help in java ; Guessing game by scanner without using random
Hello I need to make guessing game in java by scanner just without using Random I try but my output did not look like I need I need my output to look like: Guess a number from 1 to 9 5 try again __________________ Guess a number from 1 to 9 6 try again __________________ Guess a number from 1 to 9 7 You Win!!! __________________ I will send my try down please the answer give my as a code on java don't write it as a comment
8 ответов
+ 4
Didn't understand what you're saying.. I just tried on my phone..and its seem to work?
https://www.sololearn.com/post/744080/?ref=app
+ 3
STOP
Your code is perfect!
Give input like
5
6
7
at once and it'll work as you expected.
But the problem is interactive inputs are not possible in SL. All your inputs should be given at once.
Check this thread for more info👇
https://www.sololearn.com/Discuss/2578724/?ref=app
+ 3
I just copy pasted your code without any modification!!
0
This is my try
0
Hello any body
0
Minho 🇰🇷 i try on NetBeans but the output give me ( guess any number from 1 to 9 )
and i try input like 7 but give me the same output
0
Minho 🇰🇷 please show me the code