What numbers will be displayed in the list box when the button is clicked?
```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim num as Double = 10
Do While num > 1
lstBox.Items.Add(num)
num = num - 3
Loop
End Sub
```
(A) 10, 7, and 4
(B) 10, 7, 4, and 1
(C) 10, 7, 4, 1, and -2
(D) No output
(A) 10, 7, and 4
You might also like to view...
A split form displays data in two views from the same source
Indicate whether the statement is true or false
Specification: Assume that two arrays, x and y, are both fifty-element arrays and that they contain double values. This function is supposed to switch the lowest x value with the lowest y value; that is, the lowest value in x is switched with the lowest value in y.
``` void Switcher(double x[], double y[]) { double low_x = 0, low_y = 0; int i, i_x, i_y; for(i = 0; i < 50; ++ i) { if(x[i] < low_x) low_x = x[i]; //find low x i_x = i; //remember x index if(y[i] < low_y) low_y = y[i]; //find low y i_y = i; //remember y index } y[i_y] = low_x; x[i_x] = low_y; } ```