How to modify the input dialog? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to modify the input dialog?

When doing a code on the code playground, I was trying to make the input box give certain directions for the user, but it only says "It seems that your code needs some input", or something along those lines. Does anyone know if there is a way to change that on Java?

3rd Jun 2017, 1:50 PM
Baltazar Guerra
2 Answers
+ 2
No there isn't. That's how CodePlayground takes input from the user on all the programming languages. You will need to use a different IDE if you don't want to be asked at the start of the program. CodePlayground will also only ask for an input once, regardless of how many times you need it. However, you can still take multiple inputs by separating each one by a \n (enter).
3rd Jun 2017, 2:28 PM
Rrestoring faith
Rrestoring faith - avatar
0
Good to know. Thanks!
3rd Jun 2017, 2:42 PM
Baltazar Guerra