- 2
"Seems like your code requires input"
Please help me I dont understand here is the link. https://code.sololearn.com/c3lWIjGep9bC/#cs
6 odpowiedzi
+ 1
Well, if your code needs an input, you write the input in that dialog. If your code needs more than one input you go write the inputs in different lines.
For example, if your code needs 2 input, say a name and age, then you write the name in first line and age in second line. Like this for example 👇
John
99
Then hit submit button (edited)
+ 1
Kaba K, you cannot have arguments inside Console.Readline(/*here*/). This is causing the error. Just write Console.Readline().
0
Run this code to understand how input works in SoloLearn
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
0
Just open the code and run it, you'll understand how to give input using that pop-up dialog after you see the code.
0
@Ipang can you please tell me what i need to write inside the popup then i'll understand.
0
Console.ReadLine("Monkey\n Stupid");
16,21 Line
I don't how solo playground checks that your program needs Input...May be they check for all input function in your code if either of them is available it will prompt a box and ask to give input...
But,on line 16,an error because there is no overloaded member of ReadLine in Console class which takes any argument...