If a program is expecting more than one input,then how can that be entered when we hit run? It asks for only one input when run | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If a program is expecting more than one input,then how can that be entered when we hit run? It asks for only one input when run

30th Sep 2017, 2:53 PM
Sumati
Sumati - avatar
4 Answers
- 1
I place a comment at the top of my code explaining input so people trying my code can run it. https://code.sololearn.com/cqcrZqmjV5w9/?ref=app
30th Sep 2017, 3:20 PM
John Wells
John Wells - avatar
+ 1
Thanks John for your prompt reply!
30th Sep 2017, 3:59 PM
Sumati
Sumati - avatar
0
it didn't even show what is expected from user. just a generic input window. Problem more serious when trying to execute someone else's code when not sure what coder is expecting us to input.
30th Sep 2017, 3:03 PM
Sumati
Sumati - avatar
- 1
You enter all of the input values for as many lines as it takes before hitting the submit button.
30th Sep 2017, 3:00 PM
John Wells
John Wells - avatar