+ 1
How do I handle user input with this app? (C#). Apologies if this is a daft question, but I can't enter anything.
Can't get user input to work.
4 Réponses
+ 12
No such thing as a dumb question! SoloLearn's compiler runs your code on a server and sends you the end result back, so you can't enter inputs "live" when your code reached an input statement.
That input box you get is for *all* of your program's inputs all at once. You write each input on its own line, and your code will use them one line at a time as it reaches an input statement. This limits what you can do, though. You have to know exactly how many inputs you need, so anything involving randomness/guessing is not possible here.
If you want to do true live inputs, run your code through an offline compiler on a desktop/laptop.
+ 10
yw :3
+ 3
Ahh, I see, thank you.
+ 1
Good Question i had the same doubt