Question: Visual Basic Windows Forms.Net help! Problem 2 and Problem 3 are basically the same, except problem two will use a For ... Next block and

Visual Basic Windows Forms.Net help!

Visual Basic Windows Forms.Net help! Problem 2 and Problem 3 are basically

the same, except problem two will use a For ... Next block

and Problem 3 will use either a Do While or Do Until

Problem 2 and Problem 3 are basically the same, except problem two will use a For ... Next block and Problem 3 will use either a Do While or Do Until Block. When you click the load data button, clear out the listbox and then insert 10 random integers ranging from 0 to 100 into the listbox. When the data is in the listbox, should the user click the For Block button, determine the following values using a For Next block. Note, you can get all of these in a single For Next block. The sum of the 10 numbers The smallest of the 10 numbers The largest of the 10 numbers. . . When the data is in the listbox, should the user click the Do Block button, determine the following values using a Do While or Do Until Block. Note, you can get all of these in a single Do block. The sum of the 10 numbers The smallest of the 10 numbers The largest of the 10 numbers. The exit button should exit the app. Problems 2 & 3 Load Data For Block List Sum Min Value Max Value Ib Sum n Do Block Exit 2 pts 5 pts 3 pts . . Problem 2-Work with a list of numbers For Next Block Pressing Load Data does the following o Clears the Listbox o Inserts 10 random numbers ranging from 0 to 100 into the listbox. Clicking the Clear List button will clear the listbox Clicking the For Block Button does the following o Using a For... Next block find the sum of the numbers in the listbox and display it in the label In the same For ... Next block, also find the Minimum and Maximum number in the List and display it in the labels. Insert a breakpoint in the subroutine for the For Block. 9 pts 9 pts 2 pts Problem 3-Work with a list of numbers - Do Block Clicking the Do Block Button does the following o You can use either a Do While or a Do Until, and you can have the test at the beginning or end of the block. o Using your Do block find the sum of the numbers in the listbox and display it in the label o In the same Do block, also find the Minimum and Maximum number in the List and display it in the labels. 9 pts Insert a breakpoint in the subroutine for the Do Block. 2 pts 9 pts

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!