Question: The following code has an error. Indicate the line number(s) where the error occurs and rewrite the correct code Language: Visual Basics Question 6 The

The following code has an error. Indicate the line number(s) where the error occurs and rewrite the correct code

Language: Visual Basics

The following code has an error. Indicate the line number(s) where the

Question 6 The following code has an error. Indicate the line number(s) where the error occurs and rewrite the correct code 1. Public Class Form1 4 5 2. Private Sub btnSum_Click(ByVal sender As System.Object, ByVal e As System EventArgs) Handles btnSum Click 3 Dim sum As Single sum = CSng(txtNum 1.Text & txtNum2. Text & txtNum3 Text) lblum.Text = sum.ToString 6 End Sub 7 Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit Click 8. Me Exit() 9. End Sub 10 End Class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!