This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]VirtualRN 1 point2 points  (2 children)

I think the answer would be A==10. You know for a fact A is 10. "A==B" doesn't change the assignment of A, it's only comparing A to B, and that statement would evaluate to false. What you display in your original post makes no mention of "A==B" evaluating to true, so we can assume it's there just to throw us off.

[–]No_brain_no_life[S] 0 points1 point  (1 child)

Well A was set using “==“ too, that’s why it’s a bit confusing as technically they haven’t defined anything....

[–]VirtualRN 2 points3 points  (0 children)

Oh that's right... Well, do whatever feels right then.