Question: Write the C++ code to initialize an integer array with these values: 2, 5, 10 and 3. Write the code to display the values in

Write the C++ code to initialize an integer array with these values: 2, 5, 10 and 3.

Write the code to display the values in the array and the average of the values.

Write the code to display the values in reverse order (3, 10, 5, 2).

You only need to code the main function.

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!