0

How/can I make the user change the value of var in javascript

2nd Jun 2017, 1:29 PM
Ali Nasser
Ali Nasser - avatar
2 odpowiedzi
+ 1
In which language?
2nd Jun 2017, 1:33 PM
Maart
Maart - avatar
+ 1
Generic answer is by accepting input from the user at standard input. Each language does it a little differently. Python uses an input function. Java uses System.in. C++ uses std::cin. Each one has quirks about how to get the right kind of input.
2nd Jun 2017, 2:06 PM
Jason Runkle
Jason Runkle - avatar