问题描述:
如题谢谢.
问题解答:
VB的:Dim result As Integer, a(5) As Integer, i As Integerresult = 0a(1) = 10a(2) = 20a(3) = 30a(4) = 40a(5) = 50For i = 1 To 5 result = result + a(i)Nextresult = result / 5