Assume that an array of integers named salarySteps that contains exactly five elements has been declared. Write a statement that assigns the value 160000 to the last element of the array salarySteps.
LANGUAGE: Visual Basic
CHALLENGE:
Assume that an array of integers named salarySteps that contains exactly five elements has been declared.
Write a statement that assigns the value 160000 to the last element of the array salarySteps.
SOLUTION:
salarySteps(salarySteps.length - 1) = 160000