Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Sub CheckLogic ( ) x = 5 y = 1 1 If ( x > 5 And y < 1 0 ) Then MsgBox Message

Sub CheckLogic()
x =5
y =11
If (x >5 And y <10) Then
MsgBox "Message 1"
ElseIf (x >5 Or y >15) Then
MsgBox "Message 2"
ElseIf Not (x =0) Then
MsgBox "Message 3"
ElseIf Not (y =0) Then
MsgBox "Message 4"
Else
MsgBox "Message 5"
End If
End Sub
After running the above program, the following message will be displayed:
a.
Message 1
b.
Message 3
c.
Message 4
d.
Message 2
e.
Message 5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions

Question

1. Describe the types of power that effective leaders employ

Answered: 1 week ago