Question: pls screenshoot output Write a C++ program that does the following : 1.declare a one dimension array named myarr[10] 2. read the data from the

pls screenshoot output

Write a C++ program that does the following :

1.declare a one dimension array named myarr[10] 2. read the data from the user and store it in the array

3. print all of the elements in the array

4. find the average value stored in the array 5. print the average value and its index

6. find the smallest value in the array

7.print the smallest value and its index

8.implement the method int search(int num) that return 1 if value of num found in the array and return 0 if not found .

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!