1. Engineering
  2. Computer Science
  3. write a c program to store 20 integers in an...

Question: write a c program to store 20 integers in an...

Question details

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

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution