First page
Back
Continue
Last page
Image
The Xor Operator and the Boolean Result
70°
130°
10°
10° & 130°
Sub-Condition 1
False
False
True
True
Sub-Condition 2
False
True
False
True
Condition
False
True
True
False
Only the 2 combinations in the middle display the message
If ((intTemp_nc < 32 && !intTemp_nc > 120) ||
(!intTemp_nc < 32 && intTemp_nc > 120))
lblMessage.Text = “Temperature Danger"
;