+ 1
why code playground is not asking for the second input?
this app ask only for the first input and it show error when it reaches the second input
3 Réponses
+ 7
<< this app ask only for the first input and it show error when it reaches the second input >>
Codeplayground have limitation about in/output because code is compiled/runned on server side and not locally: if you closely read request for 'first' input, you will see that in fact you're asked for ALL AT ONCE, EACH SEPARATED BY NEWLINES ^^
Suppose your code need user input for a number and then a string, you enter something as:
42
forty-two
+ 3
Use the enter key for the next input
+ 3
Simply the way it was designed. Use a different compiler if you want inputs to show at different times.