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

solo learn input in java

hi guys this is a program I wrote in java it is a unit converter how ever in solo learn you are required to give the inputs before running the program my question is how can I give instructions on what the input should be https://code.sololearn.com/cyfM9LdaQxGL

28th Jun 2021, 11:32 AM
Sami Yemane
Sami Yemane - avatar
2 Answers
+ 2
give an input sample in comments at top of the code... explaining what are each ;)
28th Jun 2021, 11:34 AM
visph
visph - avatar
+ 2
you can insert a comment at the top section of your code explaining what the input does
28th Jun 2021, 11:34 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar