0
Is this possible?
I want to do something like make a number be in more than one place that I choose and that this number changes depending on the value I give. I guess it is possible, but in which language can I do it?
3 Antworten
+ 2
you can do that in most or all of the languages.
JavaScript:
——————
var x = 1;
—————-
you can change three, by using variable x.
So if you want to change to 8, you do
x = 8
if you want to change it to 1000
you’d do
x = 1000
+ 1
https://code.sololearn.com/WoxwFlhqRcSG/?ref=app
You can experiment with this code here.
Just change x’s value to any thing you want.
var x = 3;
x = 374;
x = 2;
x = 1010202028383
x = 85
... ANY NUMBER.
+ 1
Thanks a lot!!!