πŸ“Š Visual Basics
Q. What will be the content of Text after the code is executed with id=2?
Code:
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
πŸ’¬ Discuss
βœ… Correct Answer: (B) Mark

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
106
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Ranjeet
Publisher
πŸ“ˆ
82%
Success Rate