+ 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...
2 Réponses
+ 9
if your program input 2 numbers
when you run program you need to input this pattern
number1 and press enter
number2
+ 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