+ 1

C# two Console.ReadLine(), one input window

Code: string a; string b; a=Console.ReadLine(); b=Console.ReadLine(); // Why i only get 1 input window? The value is stored in both variables. Im using mozilla.

1st Dec 2018, 10:24 AM
Ville Keituri
Ville Keituri - avatar
4 ответов
+ 9
Here you have multiple inputs so write each input on seperate line in that input window // Assuming that you are using c# on Sololearn
1st Dec 2018, 10:43 AM
Rstar
Rstar - avatar
+ 9
--- You can use visual studio IDE for c#
1st Dec 2018, 11:08 AM
Rstar
Rstar - avatar
+ 8
Sololearn does not support live console . Sololearn compiler requires us to give multiple inputs in once. If not, exception will arise
1st Dec 2018, 1:12 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 2
Yes i am. Thank you for advice. It is different than javascript, confused. :)
1st Dec 2018, 11:06 AM
Ville Keituri
Ville Keituri - avatar