Answer to Question #50513 in Visual Basic for Bender

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
Expert's answer
Answer: A

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.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be the first!

Leave a comment

Ask Your question

New on Blog