How to enter input? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

How to enter input?

19th Aug 2022, 12:11 AM
Potzkie Alderite
Potzkie Alderite - avatar
6 Answers
+ 4
Potzkie Alderite see if it asks for multiple input so then you have to type the 1st value then press enter key and then type the 2nd value After that you press the submit button I gave an example of taking two input values It can of any number of inputs depending on the code
19th Aug 2022, 12:22 PM
Suparna Das
Suparna Das - avatar
+ 3
Use Console.ReadLine(); eg:- string name=Console.ReadLine();
19th Aug 2022, 4:37 AM
Suparna Das
Suparna Das - avatar
+ 2
Potzkie Alderite Already given in lesson 5.1
19th Aug 2022, 5:01 AM
A͢J
A͢J - avatar
+ 2
Potzkie Alderite It means you have to take multiple inputs with seperate lines like 3 4 Then enter
19th Aug 2022, 10:51 AM
A͢J
A͢J - avatar
0
I tried the lesson 5.1 and then when i try to run it there is dialogue: Looks like your program needs input Split multiple input in to separate lines Like that If you know what i mean thank you English is so hard aahhhhh
19th Aug 2022, 10:48 AM
Potzkie Alderite
Potzkie Alderite - avatar
0
I'm sorry but i don't get it 🥺
19th Aug 2022, 12:21 PM
Potzkie Alderite
Potzkie Alderite - avatar