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

πŸ‘οΈ
228
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Sonali Mishra
Publisher
πŸ“ˆ
81%
Success Rate