Question: Write a C++ program to store 20 integers in an array A of 20 cells. The program should output the following: 1) the content of

Write a C++ program to store 20 integers in an array A of 20 cells. The program should output the following: 1) the content of A as follows: A[0] =10 A[1] = -2 A[2] = 30 . . A[19] = 20

2) The average of the integers in A. 3) The Maximum and Minimum integers in A. 4) The percentage of positive integers in A. Thank you

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!