+ 3
What is the answer if x=a x*=3
14 Respostas
+ 7
x*=3 is the same as x = x*3 .. so we have that x=a, thus x*=3 will result in a*3
+ 3
if x=a x*=3
if it will happen that x is same like a then x will be three times larger, or
x=a x*=3
x has value of a and then x is multiplied by 3 (but "a" stays the same)
+ 2
first you see that "x" has the value of "a"
then x*=3 it's like saying x=x*3
so then the answer it's like saying a=aĂ3
+ 1
Well, what does a equal?
0
x = a
x = x * 3
== 3a
0
a variable can't store other variable like x=a here both are variables.
if we have x='a' then x=x*3 gives value in x as 'aaa'.
0
x = a is different from x = "a". If a is defined first, x will take a's value and then 3 times that value. Otherwise you will get an error message. However, if you meant to say x = "a", then most definitely you will get aaa as the new value for x.
0
aaa
- 1
x *= 3 is the same as x = x * 3. so if a = 3 x would be 9.
- 1
here, if the condition x=a is satisfied, then x will be replaced by x=x*3.
- 1
x*=3 is the same as x=x*3. So if x="a", it'll be "a"*3 and the result will be aaa
- 1
answer is aaa because x=a x*=3 means a*3 wich is finally 3a that is aaa
- 1
a=a*3
- 2
aaa