+ 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?

16th Jun 2018, 3:45 PM
Redacted
Redacted - avatar
5 odpowiedzi
+ 6
you can by input + enter input + enter ....so on then submit try and comment ATB👍 happy codings....BoisaoGames א‎
16th Jun 2018, 3:51 PM
Daljeet Singh
Daljeet Singh - avatar
+ 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.
17th Jun 2018, 3:22 AM
BlazingMagpie
BlazingMagpie - avatar
+ 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 .
8th Nov 2018, 10:02 AM
Lazyb0y
Lazyb0y - avatar
0
Daljeet Singh Can you show it doing one in ruby?
16th Jun 2018, 4:14 PM
Redacted
Redacted - avatar
0
I'll have suggest that to Sololearn
16th Jun 2018, 6:36 PM
Dlite
Dlite - avatar