+ 1
Why SoloLearn can't handle two user values ?
When I write two of the Console.ReadLine commands SoloLearn pops a window which says that the code requires input from the user but only for the first one and then for the second one it just puts a 0 (in my code the second value has to be an integer so that's why it puts 0 I guess). Is that a glitch or it just can't "handle" a second one ?
2 Answers
+ 7
It can! It just needs to be at the start only, and on seperate lines. Some other mod did a great explanation code:
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
0
As a reply to Jamie:
I didn't mention that I was using my android phone when this happened so I guess the code playground is different between Android and Windows.