0

multiple inputs

How can i ask multiple inputs in C#. Surely is in the tutorial but i still didn't finish it and i want to know it

7th Jan 2020, 4:51 PM
ninoduckman
ninoduckman - avatar
2 Answers
+ 3
input1 = Console.ReadLine() Input2 = Console.ReadLine() Use System.Console.ReadLine() if the line "using System" is not in your code. To use multiple input in sololearn ?, you've got to add each value on different lines in the input prompt
7th Jan 2020, 4:55 PM
Mirielle
Mirielle - avatar
+ 1
How to provide input in SoloLearn https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
7th Jan 2020, 5:25 PM
Ipang