Question: /ecessary imports #include #include #include using namespace std; //function to calculate mean int Mean(int mean_array[], int size, int sum) { int mean = 0; mean

 /ecessary imports #include #include #include using namespace std; //function to calculate

/ecessary imports #include #include #include

using namespace std;

//function to calculate mean int Mean(int mean_array[], int size, int sum) { int mean = 0; mean = sum / size; return mean; };

//function to calculate standard deviation int SD(int sd_arr[] ,int mean, int sum, int size) { int var = 0; for( int j = 0; j

//function to find the upper value int findUpper(int arr[], int size) { int max = 0;

for ( int u = 0; u max) { max = arr[u]; } } return max; };

//function to find the lower value int findLower(int arr[], int size) { int min = arr[0];

for ( int l = 0; l

//main function or driver program int main() { // declaring variables int arr[100]; int n = 0; int size = 0; int sum = 0;

//Enter the size of the array printf("Enter the size of number you want to enter:"); scanf("%d",&size);

//fill the array printf("Enter the numbers:"); for( int i = 0; i

//find the sum of the array for ( int i=0; i

// calling appropriate functions and printing the output. int mean = Mean(arr,size,sum); cout

int sd = SD(arr,mean, sum,size); cout

int upperValue = findUpper(arr,size); cout

int lowerValue = findLower(arr,size); cout (iv) TESTING Conduct suitable testing and record the results. VERIFICATION Show relevant activities to verify the result of the program. Note: Take one of the results in testing as an example to perform verification

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!