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

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!