First page
Back
Continue
Last page
Image
The And Operator and the Boolean Result
If (intTemperature < 20 && intMinutes > 12)
lblMessage.Text = “Frostbite Danger"
;
Sub-Condition 1
Sub-Condition 2
Condition
30° & 5 Min
30° & 20 Min
10° & 5 Min
10° & 15 Min
Sub-Condition 1
False
False
True
True
Sub-Condition 2
False
True
False
True
Condition
False
False
False
True
The only combination that displays the message is the last one