Question: 4. Exercise 6.1.8 (Microsoft Visual Basic) (T/F) The following program will cause the Infinite loop . Private Sub btnDisplay_Click(...) Handles btnDisplay.Click 'Display the numbers from
4. Exercise 6.1.8 (Microsoft Visual Basic)
(T/F) The following program will cause the Infinite loop.
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click 'Display the numbers from 1 to 5 Dim num As Integer =0 Do While num <> 6 num = 1 'xxx num is always reset to 1 lstOutput.Items.Add(num) num += 1 Loop End Sub
True? or False?
(Microsoft Visual Basic)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
