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
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;
};
+ 1
Have a look
please use Search bar before Asking
https://www.sololearn.com/discuss/2855577/?ref=app
https://www.sololearn.com/discuss/43106/?ref=app
https://www.sololearn.com/discuss/1931503/?ref=app
https://www.sololearn.com/discuss/2706335/?ref=app
https://www.sololearn.com/discuss/841290/?ref=app
https://www.sololearn.com/discuss/2815869/?ref=app
https://www.sololearn.com/discuss/2285593/?ref=app
https://www.sololearn.com/discuss/2521101/?ref=app
https://www.sololearn.com/discuss/1831488/?ref=app
https://www.sololearn.com/discuss/144063/?ref=app
https://www.sololearn.com/discuss/2394555/?ref=app
+ 1
HrCoder
I asked "why?" soloLearn dont support, i know i can't take multiple input here.
+ 1
Abhay
i created this code in an editor so i written this to break the while loop
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