Question: Sub CheckLogic ( ) x = 5 y = 1 1 If ( x > 5 And y < 1 0 ) Then MsgBox Message
Sub CheckLogic
x
y
If x And y Then
MsgBox "Message
ElseIf x Or y Then
MsgBox "Message
ElseIf Not x Then
MsgBox "Message
ElseIf Not y Then
MsgBox "Message
Else
MsgBox "Message
End If
End Sub
After running the above program, the following message will be displayed:
a
Message
b
Message
c
Message
d
Message
e
Message
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
