+ 5

How to get multiple inputs in Code Playground?

Using "cin" in loops doesn't help here. Can you not fix this? Is there any other way?

20th Jan 2019, 2:36 AM
Shafqat HB
Shafqat HB - avatar
7 Respuestas
+ 7
When this topic appears in other threads, it is sometimes knocked as a deficiency. Since you're new to the concept, I'm simply noting that it's a variation of an industry-standard input method called "batch input".
20th Jan 2019, 6:27 PM
Kirk Schafer
Kirk Schafer - avatar
+ 7
You have to use loops to go multiple inputs. Enter each input on a new line.
20th Jan 2019, 3:19 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 6
Determine the number of inputs at the first input to avoid EOF
20th Jan 2019, 2:41 AM
ShortCode
+ 5
Sololearn does not support live console meaning that you must enter all the inputs at once
20th Jan 2019, 10:26 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
Solo learn not take input multiple times you have to enter all the input at a same time.
20th Jan 2019, 8:10 PM
AKS
AKS - avatar
+ 4
Muhd Khairul Amirin Bin Yaacob So that's the reason, "Code Playground doesn't support live console". Actually I'm new in programming and have to learn alot. Thanks.
20th Jan 2019, 10:43 AM
Shafqat HB
Shafqat HB - avatar
+ 2
Kirk Schafer I am obliged. Yes, everyone using this app might not be clear on basic concepts.
20th Jan 2019, 6:44 PM
Shafqat HB
Shafqat HB - avatar