Question: 2. What will the following code display in the lblSum control? Dim intSum As Integer Dim intY As Integer Do While intY < 3 For
2. What will the following code display in the lblSum control?
Dim intSum As Integer Dim intY As Integer Do While intY < 3 For intX As Integer = 1 To 4 intSum = intSum + intX Next intX intY = intY + 1 Loop lblSum.Text = Convert.ToString(intSum)
a. 5
b. 8
c. 15
d. 30
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
