Code Playground Compiling Code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Code Playground Compiling Code

In the compiling are, I wrote a basic multiplications program, The issue I have is, why cant I input the values directly into the output screen? once i click run the small window appears saying I need to enter values. How would the user know how many values to enter without reading the code? also once I've entered the values and clicked submit, The values i entered don't appear in the output window...

19th Aug 2017, 11:14 AM
Rouge Ryan
Rouge Ryan - avatar
2 Answers
+ 9
if your program input 2 numbers when you run program you need to input this pattern number1 and press enter number2
19th Aug 2017, 11:17 AM
Nithiwat
Nithiwat - avatar
+ 2
You should describe it, At the beginning of your code, add a few commented lines describing the usage, number and type of required values to input, etc. It's how online compilers work, they usually don't get input at the runtime from user and are limited
19th Aug 2017, 11:23 AM
Ali Rashidi
Ali Rashidi - avatar