Question: C++, using iostream, using namespace std, please use functions!!!! show that it works as well Consider the following array. int main ) cons int SIZE

 C++, using iostream, using namespace std, please use functions!!!! show that

C++, using iostream, using namespace std, please use functions!!!!

show that it works as well

Consider the following array. int main ) cons int SIZE = 20; int values [SIZE]-0, 23, 34, -7, 110, 42,-350, 424, 25, 99, 10, 05, 50, -5, 1, 200, -350, 437, 25, 147 // code goes here 1.1) Provide the sum of all non-negative numbers in this array 1.2) Provide the average of the positive numbers in this array. 1.3) Provide the lowest number in the array 1.4) Provide the highest number in the array Use separate functions for each item. The array should always be passed to these functions

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!