Question: 8. Open the VB2015Chap09Tea SolutionTea Solution (Tea Solution.sln) file. Open the Code Editor window. Enter the statement to declare and initialize a class-level onedimensional array

8. Open the VB2015\Chap09\Tea Solution\Tea Solution (Tea Solution.sln) file. Open the Code Editor window. Enter the statement to declare and initialize a class-level onedimensional array named dblPounds. Use the following numbers to initialize the array: 35.6, 15, 67.9, 78.8, 12.5, and 27.5. The btnForNext_Click procedure should use the For...Next statement to display the contents of the dblPounds array, in ascending order, in the lstPounds control. The btnForEachNext_Click procedure should use the For Each...Next statement to display the contents of the dblPounds array, in descending order, in the lstPounds control. Test the application appropriately.

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