Question: //necessary imports #include #include #include using namespace std; //function to calculate mean int Mean(int mean_array[], int size, int sum) { int mean = 0; mean
//necessary 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 < size; j++ ) { var += (sd_arr[j] - mean) * (sd_arr[j] - mean); } var /= size; int sd = sqrt(var); return sd; }; //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 (a) Requirement Specification ;
In addition, as stated in the question, this exercise needs to be solved using modular programming technique.
(b) Analyse;
Provide data requirements, relevant formula(s) and constraints for my proposed solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
