+ 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