Examveda

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

A. Janet

B. Mark

C. Jerry

D. Sue

Answer: Option B


This Question Belongs to Computer Science >> Visual Basic

Join The Discussion

Related Questions on Visual Basic