Can you cin twice in this app? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can you cin twice in this app?

Bcuz it seems like you can't

4th Nov 2018, 3:52 PM
Ilcubaba
Ilcubaba - avatar
4 Answers
+ 3
Yes, but you need to give all the inputs in advance in Sololearn. So if you have something like cin>>x; cin>>y; You need to input 2 3
4th Nov 2018, 3:57 PM
Matthias
Matthias - avatar
+ 5
Or cin>> x>> y;
4th Nov 2018, 4:26 PM
Izaak GOLDSTEIN
Izaak GOLDSTEIN - avatar
+ 1
Ohhhhhh thank you very much
4th Nov 2018, 4:03 PM
Ilcubaba
Ilcubaba - avatar
+ 1
Thank you too
4th Nov 2018, 4:26 PM
Ilcubaba
Ilcubaba - avatar