0

Why soloLearn dont support any while loop to take Input code ???

I don't know the fact behinde this . https://code.sololearn.com/cygc9HzG4REv/?ref=app

15th Aug 2021, 1:46 PM
UnTentetive
5 Answers
+ 3
It does but it's not interactive . You need to provide all the inputs first time and each one on new line ! . And i don't understand what you are trying to achieve with the following lines, string name; if (name=="quit"){ break; };
15th Aug 2021, 2:13 PM
Abhay
Abhay - avatar
+ 1
HrCoder I asked "why?" soloLearn dont support, i know i can't take multiple input here.
16th Aug 2021, 3:58 AM
UnTentetive
+ 1
Abhay i created this code in an editor so i written this to break the while loop
16th Aug 2021, 4:00 AM
UnTentetive
0
Amit Ranjan Sahoo sololearn can't take inputs in runtime because, your code is sent to the server where it's compiled, then the output is returned to your device. So logically, you have to give the inputs to the server during the submission of the code. And, that's the reason, you can't give inputs during runtime
16th Aug 2021, 2:37 PM
Rishi
Rishi - avatar