How to use scanner twice(first input->close->second input)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to use scanner twice(first input->close->second input)?

I need for user will input first text next window of input close and open this window to user will can input second text.

29th Aug 2019, 12:53 PM
ShkvalGrozny
ShkvalGrozny - avatar
2 Answers
+ 2
You can't. If you close console - your app will close to. https://www.sololearn.com/discuss/1948797/?ref=app
29th Aug 2019, 1:52 PM
id001x
id001x - avatar
0
Thanks
29th Aug 2019, 3:46 PM
ShkvalGrozny
ShkvalGrozny - avatar