I'm trying to find out what is the final output value for this "for loops." I'm getting 81
Dim sum As Integer
sum = 0
For i As Integer = 1 To lstNumbers.Items.Count - 2
sum = sum + lstNumbers.Items(i)
Next
lstNumbers.Items.Add("The sum is " & CStr(sum))
"lstNumbers.Items"
5
10
15
20
25
30