Array Basics
In this exercise, you use what you have learned about declaring and initializing arrays to answer Questions 1-3.
1. Write array declarations for each of the following:
a. Six grade point averages
__________________________________________________________________________________
b. Seven last names
__________________________________________________________________________________
c. 10 ages
__________________________________________________________________________________
2. Declare and initialize arrays that store the following:
a. The whole numbers 2, 4, 6, 8, 10
__________________________________________________________________________________
b. The last names Carlson, Matthews, Cooper
__________________________________________________________________________________
c. The prices 15.00, 122.00, and 7.50
__________________________________________________________________________________
3. Write an assignment statement that assigns the value 32 to the first element of an array of integers named customerNumbers.
__________________________________________________________________________________
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.