0
why do we need to type cout "please enter a number" in the user input code ?
i see it useless as it is recognized as a text that will be executed only after the input is already written and program is executed
1 Antwort
+ 2
I might be unneccessary for SoloLearn, but in every normal IDE, the text will be printed before the input is requested and you have a real user interaction. At least I usually write my programs in such a way that they run on SL and every normal IDE.