Course Solutions Uncategorized (Solved) : Exercises 12 14 Identify Errors 2 Points 12 Private Sub Btndisplayclick Handles Btndispla Q28685328 . . . .

(Solved) : Exercises 12 14 Identify Errors 2 Points 12 Private Sub Btndisplayclick Handles Btndispla Q28685328 . . . .

 

In Exercises 12 and 14 identify the errors. (2points each)

12. Private Sub btnDisplay_Click(…)Handles btnDisplay.Click

     For i As Integer = 1 To3

lstBox.Items.Add(I & “ ”& 2 ^ i)

   End Sub

14. Private Sub btnDisplay_Click(…)Handles btnDisplay.Click

     For j As Integer = 1 To 4 Step0.5

lstBox.Items.Add(j)

     Next

   End Sub

In Exercise 16 rewrite the program using For . . . Nextloop. (2 points each)

16. Private Sub btnDisplay_Click(…)Handles btnDisplay.Click

    lstBox.Items.Add(“hello”)

    lstBox.Items.Add(“hello”)

    lstBox.Items.Add(“hello”)

    lstBox.Items.Add(“hello”)

   End Sub

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post