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