Write the statement to declare a four-element procedure-level array namedintNumwith each element initialized to 0. Then write the statements necessary to add the number 5 to each element in theintNumarray.

What will be an ideal response?

Dim intNum(3) As Integer

For intSubscript As Integer = 0 To 3
intNum(intSubscript) += 5
Next intSubscript

Computer Science & Information Technology

You might also like to view...

A character style behaves as either a character or paragraph style

Indicate whether the statement is true or false

Computer Science & Information Technology

The first in, first out (FIFO) property is found in the ADT ______.

a) list b) stack c) queue d) tree

Computer Science & Information Technology