+ 4
Why do SoloLearn doesn't support more than 1 input in Non-Web programming languages? And why it doesn't show the title?
I want to know... why do SoloLearn doesn't support more than 1 input in Java... C++... Ruby... Python... And others? And why the title of the input is not showed! Example in ruby: x = gets.to_i("How old are you?") y = gets("What's your name?") Only the x input is showed... But why?
5 Answers
+ 6
you can by
input + enter
input + enter
....so on then submit try and comment ATBđ
happy codings....BoisaoGames Śâ
+ 1
Ruby "gets" reads entire line at once, so it can get multiple inputs only by adding them on seperate lines. Do what Daljeet Singh said.
+ 1
continuous inputs can be done using the enter key...but what if your program accepts an input then prints something then it again asks for a input??
couldint figure a way to do that .
0
Daljeet Singh Can you show it doing one in ruby?
0
I'll have suggest that to Sololearn