Question: What will the following code display in the lblAsterisks control? For intX As Integer = 1 To 2 For intY As Integer = 1 To

What will the following code display in the lblAsterisks control?
For intX As Integer = 1 To 2
For intY As Integer = 1 To 3
lblAsterisks.Text = lblAsterisks.Text & "*"
Next intY
lblAsterisks.Text = lblAsterisks.Text & ControlChars.NewLine
Next intX
a. ***
    ***
b. ***
    ***
    ***
c. **
    **
    **
d. ***
    ***
    ***
    ***

Step by Step Solution

3.34 Rating (184 Votes )

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 Programming Microsoft Visual Basic Questions!