Do any1 know to use command prompt........?? Can any 1show me about it.......?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Do any1 know to use command prompt........?? Can any 1show me about it.......??

29th Oct 2017, 6:40 AM
Abhishek Mahato
Abhishek Mahato - avatar
7 Answers
+ 4
Did you mean prompt() in javascript/web context? prompt() get a string to be displayed as argument (usually the question) with a text field, and return the value entered by user when validated (if canceled return null)... https://www.w3schools.com/jsref/met_win_prompt.asp
29th Oct 2017, 6:48 AM
visph
visph - avatar
+ 1
Ho! OK: I didn't know the background ;)
26th Apr 2020, 3:33 PM
visph
visph - avatar
+ 1
visph 🤝 i am a big fans to your helpful answers to Q&A 😉
26th Apr 2020, 3:35 PM
Gordon
Gordon - avatar
+ 1
Thanks: it's a pleasure to help others, transmit knowledge as I have taken benefits (and continue to) in other places... And it's pleasant to have these kind of return sometimes :)
26th Apr 2020, 3:40 PM
visph
visph - avatar
0
no, code are compiled at Sololearn server, you have to input everything before code is sent back.
26th Apr 2020, 2:59 PM
Gordon
Gordon - avatar
0
Gordon woh! the question has more than 2 years ;P I think the OP was talking of the JS prompt() function... in web context, the limitation of input/output doesn't occur, as html/css/js is executed on client side ^^
26th Apr 2020, 3:09 PM
visph
visph - avatar
0
visph i arrived this question because he asked some questions without attempt, and self-upvoted, i am checking whether he is aiming for some badge. The user has not started JS course (progress bar zero), he mainly asked about question of C. For "command prompt", he means "cmd.exe" of windows, he wants to use that in Sololearn code playground (the tag of this question), that's why i answered him "no, you can't"
26th Apr 2020, 3:31 PM
Gordon
Gordon - avatar