how in Java do i make it that without resetting the program i can show an output then ask for an input again | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how in Java do i make it that without resetting the program i can show an output then ask for an input again

I NEED TO TAKE IN INPUT, THEN OUTPUT INFO, THEN ALLOW ThEM TO IMPUT BASED ON THAT OUTPUT BUT STILL SAVING THe VARIABLE FROM THe FIRST IMPUTS (SORRY ABout The CApS)

23rd Oct 2020, 4:15 PM
Conner Bailey
Conner Bailey - avatar
1 Answer
+ 2
You cannot do that in SoloLearn playground. All the input must be handled at once, i.e., you input everything at once on SoloLearn. You can, however, use a compiler in the computer. You then can do that.
23rd Oct 2020, 4:24 PM
你知道規則,我也是
你知道規則,我也是 - avatar