+ 3
How to accept inputs with Java Scanner while code is running, not beforehand?
When I run a java program that uses the Java Scanner, it asks for the input before the program begins. I need the Scanner to accept inputs intermittently while the program is running, which is Iâm pretty sure how it functioned normally when I used the eclipse compiler. Iâm making a game that generates a random number 1-100, and you have 5 guesses to figure out what the number is. The game tells you if your guess is higher or lower than the actual number.
3 Answers
+ 1
You can't do it in sololearn you need work on a pc whit the java compiler and a text editor
0
looking at other peopleâs published posts and seeing they are having same issue. Does solo learn seriosly not have this feature?
0
Most web based compilers work the same way, jdoodle etc