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

5th Jul 2021, 10:29 AM
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ.
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ. - avatar
6 ответов
5th Jul 2021, 10:41 AM
XXX
XXX - avatar
+ 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.
5th Jul 2021, 10:40 AM
Lothar
Lothar - avatar
+ 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.
5th Jul 2021, 10:37 AM
Abhay
Abhay - avatar
+ 3
Thanks Everybody 😊😊 for your answers
5th Jul 2021, 10:42 AM
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ.
(☞ ಠ_ಠ)☞.ρrΑτΗαΜ. - avatar
+ 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
11th Jul 2021, 1:36 AM
Rishi
Rishi - avatar