How do you enter input in C++ using this app? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you enter input in C++ using this app?

https://www.sololearn.com/discuss/1962304/?ref=app

11th Sep 2019, 1:34 PM
andile zungu
andile zungu - avatar
2 Answers
+ 3
In SoloLearn code editor when you the hit "Run" button you will be presented an input dialog where you can type your inputs. You must provide as many inputs as the code needs, and there is no way to get input interactively. So all input needed must be supplied at the event the program is to be ran. P.S. From this moment on, please mind to not to add irrelevant links on your question. That discussion link you attached had no relevance to your question.
11th Sep 2019, 1:58 PM
Ipang
+ 1
int n; cin>>n;
11th Sep 2019, 1:49 PM
KfirWe
KfirWe - avatar