I'm doing my logic tutorials. And I cannot understand what does this question want. Here it goes:
What is the value of variable x after the statement
If $2+2 = 4$ then $x:= x+1$
If $x=0$ before this statement in encountered?
(The symbol $:=$ stands for assignment. The statement $x:x+1$ means assignment of the value of $x+1$ to $x$)
Thank you!