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
Get step-by-step solutions from verified subject matter experts
