+ 3
Java
While writing code, scanner is used for user input. But before user input, as of good practice we mention about input like enter your age etc. But, when we run code at this platform, it mentions âuser need inputâ. Is there any command to detail the requirement as a statement?
4 Answers
+ 3
In Java in general, yes. But with the code playground, unfortunately no.
+ 2
In the code playground, unfortunately no.
All I do is comment the requirements at the top of the code.
0
Andre Daniel while going through one code in âDefend the baseâ challenge written by BrainsđłđŹ , came across some prompt statement to do the same, but the code is wriiten in javascript. Is it possible with java also.
0
Andre Daniel thanks