Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You are to write a program that will manipulate an array. Your program should ha

ID: 3619195 • Letter: Y

Question

You are to write a program that will manipulate an array. Your program should handle up to 100 integer numbers.

For each part below, write one or more functions (there are anumber of functions)

------------------------------------

1. Read in the values into the array. The input is found inarray.data supplied throughblackboard.

2. Print out all the values in the array with no more than 7numbers per output line.

3. Print out the average of the numbers and the standarddeviation. (see book page 293 #2)

4. Print out how many numbers are larger than the average andhow many are smaller than the average. Pass average as aparameter.

5. For every odd number in the array, subtract it from theprevious array location and store the results where the odd numberwas found. Print out the new array (under the previousrequirements.)

6. Print out the average of the new array and the standarddeviation.

7. Find the largest number and print out thevalue and its position.

8. Find the smallest number and print out thevalue and its position.

9. How many numbers in the array are multiples of 5?

10. Zero out all values in the array that are multiplies of5.

Explanation / Answer

please rate - thanks #include #include #include using namespace std; double mean(int [],int); double standardd(int[],int, double); double calc(int, double); voidbiggersmaller(int[],int,double,int&,int&,int&,int&); void print(int[],int); void subtract(int[],int); int mult5(int[],int); int main() {int x[100]; int i=0,j,bigger=0,smaller=0,posb,poss,m5; double average,sd; ifstream input; input.open("array.data");          //open file if(input.fail())            //is it ok?        { coutx[i]; while(input&&i>x[i]; } cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote