Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need structured english and pseudo code for these two programs. Thanks 1. Sele

ID: 3797972 • Letter: I

Question

I need structured english and pseudo code for these two programs. Thanks

1.

Select Case a Case 3 a = l Case 2

a = 3 Case 1 a = 2

End Select

2.

Private Sub btnMeaning^Click(ByVal sender As System.Object, ByVal e As Systern.EventArgs) Handles btnMeaning.click Dim 2. abbreviation As String abbreviation = CStr(txtAbbreviatlon.Te>ct)
3. Select Case abbreviation Case "ac"
4. txtMeaning.Texr = “before meals"
5. Case "ad lib“
6. txtMeaning.Texr = "freely as needed" case "bid"
7. txtMeaning.Texr = "twice daily" case "gtt"
8. txtMeaning.Texr = "a drop"
9. Case "hs"
10. txtMeaning.Texr = "at bedtime"
11. Case "qid"
12. txtMeaning.Texr = "four times a day"
13. Case Else
14. txtMeaning.Texr = "Enter a proper abbreviation" End Select
15. End Sub

Explanation / Answer

Pseudocode in c is given as:

1.enter your choice.

2initialize ch varible for storing the choice

3.loop while

4.switch(case)

5 case1:a=1

6 break:

7 case2: a=3

8. Break;

9 case 3. a=1

10. Break;

11.case4. a=0

12.break;

13.default: print message that you have entered the wrong choice.

14.end switch

15.end loop.