- 2

"Seems like your code requires input"

Please help me I dont understand here is the link. https://code.sololearn.com/c3lWIjGep9bC/#cs

11th Oct 2020, 4:23 PM
Kaba K
Kaba K - avatar
6 Answers
+ 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)
11th Oct 2020, 4:55 PM
Ipang
+ 1
Kaba K, you cannot have arguments inside Console.Readline(/*here*/). This is causing the error. Just write Console.Readline().
11th Oct 2020, 5:56 PM
Bhavya Ruparelia
Bhavya Ruparelia - avatar
0
Run this code to understand how input works in SoloLearn https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
11th Oct 2020, 4:30 PM
Ipang
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.
11th Oct 2020, 4:46 PM
Ipang
0
@Ipang can you please tell me what i need to write inside the popup then i'll understand.
11th Oct 2020, 4:50 PM
Kaba K
Kaba K - avatar
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...
13th Oct 2020, 1:56 AM
Droider
Droider - avatar