Question: visual basic The intNums array is declared as follows; Dim intNums ( ) As Integer = { 1 0 , 5 , 7 , 2

visual basic The intNums array is declared as follows;
Dim intNums() As Integer ={10,5,7,2}
Which of the following blocks of code correctly calculates the average value stored in the array? Assume that the intTotal, intSub, and dblAvg variables contain 0 before the loop is proceed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!