Running sub procedure a would display


Which answer is correct for these two sub procedures?

Sub A()
Dim lngA As Integer
lngA = 10
If lngA > 5 Then
MsgBox "Z"
ElseIf lngA > 6 Then
MsgBox "Y"
End If
End Sub

Sub B()
Dim lngA As Integer
lngA = 10
If lngA > 5 Then
MsgBox "Z"
End If
If lngA > 6 Then
MsgBox "Y"
End If
End Sub

Answer

a. Running sub procedure A would display 1 message box
Running sub procedure B would display 1 message box

b. Running sub procedure A would display 1 message box
Running sub procedure B would display 2 message boxes

c. Running sub procedure A would display 2 message boxes
Running sub procedure B would display 1 message box

d. Running sub procedure A would display 2 message boxes
Running sub procedure B would display 2 message boxes 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Running sub procedure a would display
Reference No:- TGS0112087

Expected delivery within 24 Hours