What will be the content of Text after the code is executed with id=2?
If id==1 Then
Text="Janet";
Elseif id==2 OrElse id==3 Then
Text="Mark"
ElseIF id==4 Then
Text="Jerry"
Else
Text="Sue ";
EndIf
If id==1 Then
Text="Janet";
Elseif id==2 OrElse id==3 Then
Text="Mark"
ElseIF id==4 Then
Text="Jerry"
Else
Text="Sue ";
EndIf
A. Janet
B. Mark
C. Jerry
D. Sue
Answer: Option B

Join The Discussion