Question #50513

What is the value of times(2,1) in the array that follows?

Dim times(,) As Decimal = { {23.0d, 3.5d}, {22.4d, 3.6d}, {21.3d, 3.7d} }

Select one:

a. 3.7

b. 22.4

c. 3.5

d. 21.3

e. 3.6

Dim times(,) As Decimal = { {23.0d, 3.5d}, {22.4d, 3.6d}, {21.3d, 3.7d} }

Select one:

a. 3.7

b. 22.4

c. 3.5

d. 21.3

e. 3.6

Expert's answer

An array isa set of values that are logically related to each other, such as the number of

students in each grade in a grammar school. By using an array, you can refer to

these related values by the same name, and use a number that’s called an index

or subscript to tell them apart. The individual values are called the elements

of the array. They’re contiguous from index 0 through thehighest index value.

So,times(2,1) – is element in third row (third {}}, second columns; symbol “D” –

mean that number is decimal.

Learn more about our help with Assignments: Visual Basic

## Comments

## Leave a comment