+ 1
Recommendation; it should be clearer the user can specify multiple inputs with a newline.
When you run a program that requires you to give input Sololearn asks for your input, which works. My one gripe with this is that the "sub text" only tells you to 'split for multiple inputs' - whatever that means, actually I know what it means, you split your input **with a newline**.
2 ответов
+ 1
Its best to split with a new line. What if I wanted to type a sentence. With your method,
v1 = each
v2 = word
v3 = will
v4 = be
v5 = a
v6 = new
v7 = variable
v8 = which
v9 = is
v10 = now
v11 = what
v12 = I
v13 = want.
s1 = I want the sentence in one variable.
0
you've completely missed my point, if your program requests multiple inputs, say cin >> x and cin >> y, it should be more clear to SoloLearn users that you can specify input for both of those statements with a newline.
SoloLearn already allows you to do that, but it should be more obvious you can specify input for both cin >> x and cin >> y by using a newline, eg.
input for x
input for y
would result in
x == "input for x"
y == "input for y"
p.p.s. stop liking your own posts, no one likes it.