The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500, 20000}. Which of the following loops will correctly multiply each element by 2? The intSub variable...


The intSales array is declared as follows: Dim intSales() As Integer = {10000,

12000, 900, 500, 20000}. Which of the following loops will correctly multiply each

element by 2? The intSub variable contains the number 0 before the loop is processed.

a. Do While intSub <=>

intSub *= 2

Loop

b. Do While intSub <=>

intSales *= 2

intSub += 1

Loop

c. Do While intSub <>

intSales(intSub) *= 2

intSub += 1

Loop

d. None of the above.



Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here