1

The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500, 20000}. Which of the following loops will correctly add 100 to each array element? The intSub variable contains the number 0 before the loops are processed.

Correct Answer: Do While intSub < 5 intSales(intSub) =intSales(intSub) + 100 Loop

Make the most of this question

This page focuses on one Visual Basics MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Visual Basics MCQs MCQ: The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500, 20000}. Which of the following loops will correctly add 100 to each array element? The intSub variable contains the number 0 before the loops are processed. | Extra Education