What will be displayed by the following program when the button is clicked?

```
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
Dim s As Double
s = 0
For k As Integer = 1 To 5
If k / 2 = Int(k / 2) Then
s += k
End If
Next
txtBox.Text = CStr(s)
End Sub
```
(A) 12
(B) 9
(C) 15
(D) 6

(D) 6

Computer Science & Information Technology

You might also like to view...

Which type of wireless technology bounces transmissions off walls and ceilings to deliver signals from sender to receiver and is often used with TV remotes?

A. scatter infrared B. laser C. narrowband radio D. microwave

Computer Science & Information Technology

Provides URL to the video or audio source.

a. SVG b. SRC c. Source element d. Codec

Computer Science & Information Technology