Sub Summa_Array
Dim A() As Integer, i As Integer, k As Integer, n As Integer, m As Integer, S As Integer
Input "Vvedite razmer massiva", n, m
ReDim A(n, m)
S = 0
For i = 1 To n
For k = 1 To m
Input "Vvedite element massiva", A(i, j)
S = S + A(i, j)
Next k
Next i
Print S
End Sub