ExamVeda
Login
Home
This question belongs to Computer Science Visual Basic
Visual Basic
?

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

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.