Assume that an array named a containing exactly 5 integers has been declared and initialized. Write a single statement that adds 10 to the value stored in the first element of the array.

Assume that an array named a containing exactly 5 integers has been declared and initialized.  Write a single statement that adds 10 to the value stored in the first element of the array.

LANGUAGE: Visual Basic

CHALLENGE:

Assume that an array named a containing exactly 5 integers has been declared and initialized.
Write a single statement that adds 10 to the value stored in the first element of the array.

SOLUTION:


 a(0) += 10

Add comment