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?
1
Expert's answer
2013-04-10T09:12:36-0400
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
Comments
Leave a comment