Question: Using C++ Giving the following array: int n[ 10 ] = { 32, 27, 64, 18, 95, 14, 90, 70, 60, 37 }; Write a
Using C++
Giving the following array:
int n[ 10 ] = { 32, 27, 64, 18, 95, 14, 90, 70, 60, 37 };
Write a C++ program to
a) Compute the total value of all the elements in array n[10]
b) Compute the average value of the elements in array n[10]
c) Find and dispay the maximum and minimum values of array n[10]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
