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

8th Nov 2020, 9:24 AM
STOP
STOP - avatar
8 Respuestas
+ 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
8th Nov 2020, 10:32 AM
Minho
Minho - avatar
+ 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
8th Nov 2020, 10:20 AM
Minho
Minho - avatar
+ 3
I just copy pasted your code without any modification!!
8th Nov 2020, 12:56 PM
Minho
Minho - avatar
0
This is my try
8th Nov 2020, 9:28 AM
STOP
STOP - avatar
0
Hello any body
8th Nov 2020, 10:07 AM
STOP
STOP - avatar
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
8th Nov 2020, 10:28 AM
STOP
STOP - avatar
0
Minho 🇰🇷 please show me the code
8th Nov 2020, 12:55 PM
STOP
STOP - avatar