The following array is declared and initialized:
?
Dim dblMilesPerTrip() As Double = {542, 28, 79.5, 322.6, 114}
?
Write the statements to total the values in the array.
What will be an ideal response?
Dim dblTotal As Double
For Each dblMiles As Double In dblMilesPerTrip
dblTotal = dblTotal + dblMiles
Next dblMiles
Computer Science & Information Technology
You might also like to view...
Match the following terms to their meanings:
I. Split form II. Nested subform III. Subform IV. Multi-page form V. Linked form A. A related form that is not stored within the main form B. A form that displays data in two views on a single form C. A form that is embedded within another subform D. A form that displays the data from an underlying table or query on more than one page E. A form that is embedded within a main form
Computer Science & Information Technology
Each of the following is a relational or equality operator except:
a. <= b. =! c. == d. >
Computer Science & Information Technology