+ 2
Two or more inputs required
My code requires two inputs. However, Sololearn does not allow me to read the text prompting the required input. As a result, I have to put two inputs without reading the prompt messages. How should I go about this? https://code.sololearn.com/cPp5s4Bik437/?ref=app
5 Réponses
+ 2
Enter all your input in the beginning but drop to the next line for each new input like:
John
1
+ 1
On sololearn they wouldn't, so I'd recommend leaving a comment on the top of you code telling readers what kind of input is needed 😁
0
That's what I am doing thus far.
As the creator of the code, I know the input required in line one and two. Just wondering if other people attempt to interact with my code yet without an input prompting message. How would they know what to write as input? Not sure if my question is clear enough.
0
Oh, I see. Thank you Olivia
0
Your welcome ☺️