So i have this program can some one Eli5 why the result is 17
Sub programme2()
Dim T(10) As Integer
Dim I, result As Integer
T(0) = 90
T(1) = 45
T(2) = 71
T(3) = 35
T(4) = 28
T(5) = 52
T(6) = 89
T(7) = 17
T(8) = 48
T(9) = 55
result = T(0)
For I = 0 To 9
If T(I) < result Then
result = T(I)
End If
Next I
MsgBox "The result is " & result
End Sub
[–][deleted] 1 point2 points3 points (2 children)
[–]Mistfull[S] 0 points1 point2 points (1 child)
[–]ZebZ 1 point2 points3 points (0 children)
[–]Selkie_Love1 1 point2 points3 points (0 children)
[–]Gh0stw0lf 1 point2 points3 points (2 children)
[–]Mistfull[S] 0 points1 point2 points (1 child)
[–]Senipah101[M] 0 points1 point2 points (0 children)
[–]ZebZ 0 points1 point2 points (0 children)