
David W. answered 12/23/16
Tutor
4.7
(90)
Experienced Prof
This code snippet is intended to be a "tricky" test question to determine whether you comprehend the precedence rules for "And" in a compound expression. That is, does the statement
If (intX > 120 And intY < 30) Then
mean
If ( (intX > 120) And (intY < 30) ) Then
or does it mean
If (intX > (120 And intY) < 30) Then
Note that the "And," as in "(120 And intY)". is listed as a Logical and Bitwise Operator (for Conjunction) in:
https://msdn.microsoft.com/en-us/library/fw84t893(VS.100).aspx

Mark B.
12/23/16