Answer the following statements true (T) or false (F)
1. ReDim statements can be used to change a one-dimensional array into a three-dimensional
array.
2. Given the following statements, the first subscript in the second statement references a
column. (T/F)
Dim myArray(15, 20) As Double
myArray(5, 10) = 0
3. Two-dimensional arrays are often referred to as tables or matrices.
4. The third statement below is NOT valid. (T/F)
row = 5
col = 3
someArray(col, row) = 25
1. F
2. F
3. T
4. F
You might also like to view...
Write code that declares x, y, and z as double variables. Then write code that causes z to be assigned the result of x divided by y, rounded as indicated below. Be sure to #include the header file that declares the library functions you use.
a) round up b) round down c) round to the nearest integer. Does your code round an exact half up or down? say 2.5?
(Find the Two Largest Numbers) Using an approach similar to that in Exercise 3.17, find the two largest values among the 10 numbers. [Note: You must input each number only once.]
What will be an ideal response?