Question: Observe the tollowing code Sub ArrayExercise _ 3 ( ) Dim MyArray ( 2 , 3 ) As Integer MyArray ( 0 , 0 )
Observe the tollowing code
Sub ArrayExercise
Dim MyArray As Integer
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
For To
For To
Cells Value MyArray
Next Observe the following code
Sub ArrayExercise
Dim MyArray As Integer
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
MyArray
For To
For To
Cells Value MyArray
Next
Next
End Sub
Their output must be like this
Using this code as example to manage a two
dimensional array. Develop three subroutine to
perform the following task
Obtain the average per column.
Obtain the average per row.
Obtain the total average of the entire table.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
