πŸ“Š Visual Basics
Q. What will be contained in Msg if grade entered by user is 'd'?
Code:
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
  • (A) Fair
  • (B) Fail
  • (C) Good
  • (D) Excellent
πŸ’¬ Discuss
βœ… Correct Answer: (A) Fair

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
206
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Sonali Mishra
Publisher
πŸ“ˆ
93%
Success Rate