Question: b. Based on the following array declaration and initialization, answer question i-iv. int numbers [3] [6]={{3,7,5,1}, {9,4,7,6,8,2), (3, 8, 7, 2}}; How many elements does

 b. Based on the following array declaration and initialization, answer question

b. Based on the following array declaration and initialization, answer question i-iv. int numbers [3] [6]={{3,7,5,1}, {9,4,7,6,8,2), (3, 8, 7, 2}}; How many elements does the array have? iv. Write a statement to store 11 in the last column of the last row in the array. (4 marks) c. Figure 2.1 shows incomplete program that will ask the user to enter 10 integer numbers into an array. Function avgArray () calculate and return the average of the numbers. Write the complete program #include using namespace std; // Write the function prototype here int main() { const int SIZE = 10; int userNums [SIZE]; cout > userNums (count); } cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!