Which of the following will not display four asterisks on each of three lines in the lblMsg control?
a) lblMsg.Text = "****" &
ControlChars.NewLine & "****" &
ControlChars.NewLine & "****"
b) For intCounter As Integer= 1 to 3
lblMsg.Text = lblMag.Text &
"****" & ControlChars.NewLine
Next intCounter
c) For intX As Integer = 1 to 4
Fir intY As Integer = 1 to 3
lblMsg.Text = lblMag.Text & "*"
Next intY
lblMsg.Text = lblMsg.Text &
ControlChars.NewLine
Next intX
d) For intX As Integer = 1 to 3
Fir intY As Integer = 1 to 4
lblMsg.Text = lblMag.Text & "*"
Next intY
lblMsg.Text = lblMsg.Text &
ControlChars.NewLine
Next intX
Could you help me get the answer please?
The answer C will not display four asterisks on each of three lines in the lblMsg control
c) For intX As Integer = 1 to 4
Fir intY As Integer = 1 to 3
lblMsg.Text = lblMag.Text & "*"
Next intY
lblMsg.Text = lblMsg.Text &
ControlChars.NewLine
Next intX
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!