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
Get step-by-step solutions from verified subject matter experts
