How to we enter the cin>> the datas in one line | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to we enter the cin>> the datas in one line

17th Sep 2017, 3:43 AM
Vibeeshanan Vibee
Vibeeshanan Vibee - avatar
5 Answers
+ 8
You can also input as 1 2 for cin >> x >> y; On here, it makes no difference.
17th Sep 2017, 3:59 AM
Hatsy Rei
Hatsy Rei - avatar
+ 7
Code Playground? E.g. cin >> x >> y; You split multiple input into different lines. 1 2
17th Sep 2017, 3:49 AM
Hatsy Rei
Hatsy Rei - avatar
+ 3
I want to ask, should I focus in one programming language?
17th Sep 2017, 4:26 AM
Jojo Dumojo
Jojo Dumojo - avatar
0
i ask how to input the look like 1 2 this type
17th Sep 2017, 3:50 AM
Vibeeshanan Vibee
Vibeeshanan Vibee - avatar
0
no i ask split multiple input into same line
17th Sep 2017, 4:01 AM
Vibeeshanan Vibee
Vibeeshanan Vibee - avatar