0

Input

How to input my values for cin ?

4th Nov 2020, 7:22 PM
Fareeha Exe
Fareeha Exe - avatar
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
4th Nov 2020, 7:37 PM
Kevin ★
+ 1
For cin you can enter with a space separating also.. For ex: int a, b; cin>>a>>b; input : 3 4
4th Nov 2020, 7:56 PM
Jayakrishna 🇼🇳
+ 1
tysm !
4th Nov 2020, 8:14 PM
Fareeha Exe
Fareeha Exe - avatar