What is the output of the following program segment?

```
Dim temp() As String = IO.File.ReadAllLines('Data.txt")
Dim n As Integer = temp.Count - 1
Dim numbers(n) As Double, h As Double = 0
For i As Integer = 0 To n
numbers(i) = CDbl(temp(i))
Next
For k As Integer = 0 to n
h += numbers(k)
Next
txtBox.Text = CStr(h)
```
Assume the four rows of the file Data.txt contain the following entries: 2, 4, 2, 3
(A) 11
(B) 2
(C) 7
(D) 4

(A) 11

Computer Science & Information Technology

You might also like to view...

Match the following Windows XP screen elements to their descriptions:

I. Swatch A. The way screen elements such as buttons are shaped and sized. II. Color palette B. A set of coordinated colors that applies to every window. III. Color scheme C. A group of small squares of different colors. IV. Style D. An individual color sample. V. Background E. The color, texture, pattern or picture displayed on the Windows XP desktop.

Computer Science & Information Technology

How would you suggest that mobile devices be secured?

What will be an ideal response?

Computer Science & Information Technology