Visual Basic 2017: Create a program to do the following:
Create an array with the statement Dim TheGrades() As Integer ={88, 35, 100, 82, 79, 100, 95, 80, 75, 92} It contains grades for astudent.
Using array methods, output the average value of the array, theminimum value of the array and the maximum value of the array in alistbox. (See page 299.)
This is the example the book uses
except we’re using grades versus Presidents’ ages.ha Sub u ges. Count). ot).ToString Run, and click on the button. Presidential Ages at Inauguration – X Display Values Trump: 70 Washington: 57 Trump: 70 Oldest age: 70 Youngest age: 42 Average age: 55.18 Average age: 55.18 Calculating an Array Value with Show transcribed image text ha Sub u ges. Count). ot).ToString Run, and click on the button. Presidential Ages at Inauguration – X Display Values Trump: 70 Washington: 57 Trump: 70 Oldest age: 70 Youngest age: 42 Average age: 55.18 Average age: 55.18 Calculating an Array Value with
Expert Answer
Answer to Visual Basic 2017: Create a program to do the following: Create an array with the statement Dim TheGrades() As Integer =…