How do I make user input to run my code correctly in sololearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I make user input to run my code correctly in sololearn?

I made a program which code needs for user input, the program does not reads any errors. When I try to run it here in solo learn it ask me to write user inputs in separate lines, although I did that I think... that is when, trying to run the program after my input it crashes. How do I make user input correctly in SoloLearn? A little help here?

16th Mar 2017, 2:28 AM
Norton Perez
Norton Perez - avatar
2 Answers
+ 11
C.Playground takes all input prior to compiling. This is a problem with most online compilers. However, if you have fulfilled the condition of splitting separate inputs into different lines, we will need to inspect your entire code to see if there are any underlying errors.
16th Mar 2017, 3:36 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Thanks. My code did has errors, but I just fixed them and now it runs ok.
16th Mar 2017, 12:47 PM
Norton Perez
Norton Perez - avatar