Vidyalelo
Computer Science · Q413

Visual Basic MCQs: Test Your Proficiency in Visual Basic Programming

Engineering and GATE · Computer Science · question 413

Q413

What will be contained in Msg if grade entered by user is 'd'? If grade=="A" Msg ="Excellent" ElseIf grade=="B" Msg="Very Good" ElseIf grade=="C" Msg="Good" ElseIf grade=="D" Msg="Fair" Else Msg="Fail" EndIf

A.
Fair
B.
Fail
Answer
C.
Good
D.
Excellent

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board