Why SoloLearn can't handle two user values ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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 ?

15th Oct 2018, 8:22 PM
PhyniX
2 Antworten
+ 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
15th Oct 2018, 8:54 PM
Ahri Fox
Ahri Fox - avatar
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.
16th Oct 2018, 3:24 PM
PhyniX