Visual Basic: For Each Loop Function


Visual Basic: 


Write a Function that calculates the stated value with a For Each loop (array nums contains a list of positive integers). The sum of the numbers in the array, the average of the numbers in the array, the largest even number in the array (If there are no even numbers in the array, the Function procedure should return 0), the smallest number in the array, the number of two-digit numbers in the array, the number of even numbers in the array.



    • 6 years ago
    • 20

    Purchase the answer to view it

    • attachment