0
Dear Friends, Is the message appearing before you while running my program??
I made a program which accepts 2 numbers from users with a 'number requesting message' . But when I am running it, it is directly asking me to input numbers and not showing the message!! Does it appears when you are running my program?? If not then please tell me whats the issue and help me to resolve it. Thanks for the same. Here is my code ↓ Please check!! https://code.sololearn.com/cjuupW7yTN9m/?ref=app
5 Antworten
+ 5
(Extending Abhay 's answer)
See this
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
+ 7
Learner_Pratham ,
don't worry, this is the behavior of playground. as all code is executed on the sololearn server, all required inputs have to be done in advance.
put each input in a new line in the input window that appears when the code is executed. then press submit.
on a regular IDE this will not be a problem, and the code will be executed in the correct sequence.
+ 5
It won't show messages on sololearn . Code playground isn't an interactive ide . It just take inputs for the first time and send all those inputs to server where the program is ran for specific language and then output is send back to you.
+ 3
Thanks Everybody 😊😊 for your answers
+ 1
Learner_Pratham use Cxxdroid if you're on Android, cuz it is a very good C/C++ compiler for Android with many features. It might help you