Multiple questions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Multiple questions

When i tryed my "What number?" program it didn't want to answer beyond the first question.

12th Feb 2017, 2:05 AM
Nemanja Aćimov
Nemanja Aćimov - avatar
2 Answers
+ 8
Code Playground is an online IDE / compiler, which means that it takes input prior to compiling your program, and you have to give all the input from the start. What you can do is to spilt multiple input into different lines: E.g. 15 12 13 This will make the program receive three inputs. Unfortunately, there is no "fix" for this.
12th Feb 2017, 2:13 AM
Hatsy Rei
Hatsy Rei - avatar
0
Thank you, i realy wanted to try this, it worked on my pc as a game :(
12th Feb 2017, 2:15 AM
Nemanja Aćimov
Nemanja Aćimov - avatar