input after output (java) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

input after output (java)

is there a way in Sololearn to make it ask for input after some code? because I would like it if I could first make the code say something and then ask for input. I also used other programs for java like drjava and notepad++, and when I ran it with drjava it worked just fine. but in Sololearn it asks it beforehand.

10th May 2018, 7:05 PM
just me
just me - avatar
2 Answers
+ 9
Unfortunately, it is not possible at the code playground. Sorry, I know that limits the possibilities for the poor 'console only' languages.
10th May 2018, 7:11 PM
Tashi N
Tashi N - avatar
+ 6
in sololearn playground only web applications are interactive(because they runs on users phone browser), so java, python,c++ etc are not interactive and they take only one block of enter at the begin
10th May 2018, 7:19 PM
Dmitriy
Dmitriy - avatar