0
Input
How to input my values for cin ?
3 Answers
+ 4
Welcome to SoloLearn!
Refer to this lesson:
https://www.sololearn.com/learn/CPlusPlus/1607/
Usually you would type the value in the console and press the enter key. See @Jayakrishnađźđł's answer.
In SoloLearn's online playground you have to enter all the required inputs at the very beginning of the program separated by a new line:
input1
input2
input3
How input is handled in SoloLearn:
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
+ 1
For cin you can enter with a space separating also..
For ex:
int a, b;
cin>>a>>b;
input : 3 4
+ 1
tysm !