0

In c++ in the variables lesson it asks for me to split input into multiple lines. I dont know the answer

found in try it yourself

18th May 2017, 4:06 PM
Chris Brown
6 Answers
+ 5
It's something with the SL IDE, you can input multiple variables only through multiple lines. For example, cin>>x>>y; has to be input as: <value of x> <value of y> This is because sololearn doesnt support real time input.
18th May 2017, 4:11 PM
Pixie
Pixie - avatar
+ 4
Depends on the datatype. int would need a number typed in.
18th May 2017, 4:31 PM
Pixie
Pixie - avatar
+ 3
https://code.sololearn.com/crryuPaDmrH6/?ref=app Here is an example to help you understand. Read the comments at the top
18th May 2017, 4:43 PM
Pixie
Pixie - avatar
0
does it need a number typed
18th May 2017, 4:24 PM
Chris Brown
0
I apologize it says split multiple input into separate lines
18th May 2017, 4:42 PM
Chris Brown
0
thank you. i tagged you so I can follow you I am glad to know you pixie
18th May 2017, 6:13 PM
Chris Brown