65 591
Assignments Done
99,2%
Successfully Done
In October 2018

Answer to Question #27563 in Visual Basic for desi

Question #27563
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?
Expert's answer

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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions