If originally x = 4, what is the value of x after the evaluation of the following expression? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If originally x = 4, what is the value of x after the evaluation of the following expression?

x / = x + 2 = x = x/(x+2)

18th Apr 2019, 9:43 AM
jes
1 Answer
+ 3
Error. Assignments are done from right to left, so one of the operations will be '2=something' and that doesn't work. You can try this yourself in 'Code Playground' instead of asking here btw.
18th Apr 2019, 9:53 AM
HonFu
HonFu - avatar