Input in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Input in java

I want to take multiple input in between my running java program. But problem is you can take input from user only once during start of the program. can anyone help?

9th Dec 2017, 3:47 PM
Prathamesh Sawant
Prathamesh Sawant - avatar
3 Answers
+ 2
clear your question
9th Dec 2017, 3:48 PM
Faisal Rahman
Faisal Rahman - avatar
+ 2
try it on your personal machine
9th Dec 2017, 4:23 PM
shobhit
shobhit - avatar
+ 2
Shobhit I ran it on cmd, it worked without any bug. If I run that code in sololearn you will have to execute that program again and again to give some input. It is basic number game written in java.
9th Dec 2017, 4:47 PM
Prathamesh Sawant
Prathamesh Sawant - avatar