What will be contained in Msg if grade entered by user is 'd'?
grade=grade.Text.ToUpper
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
grade=grade.Text.ToUpper
If grade=="A"
Msg ="Excellent"
ElseIf grade=="B"
Msg="Very Good"
ElseIf grade=="C"
Msg="Good"
ElseIf grade=="D"
Msg="Fair"
Else
Msg="Fail"
EndIfA. Fair
B. Fail
C. Good
D. Excellent
Answer: Option A

Join The Discussion