Question: Task -> Always the same for each problem. Take the driver program. Write the functions specified in the prototype. Purpose: Input the size and elements

Task -> Always the same for each problem. Take the driver program. Write the functions specified in the prototype.

Purpose: Input the size and elements of an integer array. Calculate the sum and find the min then the max. Output the results.

Template:

//System Libraries Here #include //cin,cout using namespace std;

//User Libraries Here

//Global Constants Only, No Global Variables

//Function Prototypes Here void read(int [],int); int stat(const int [],int,int &,int &); void print(const int [],int,int,int,int);

//Program Execution Begins Here int main(int argc, char** argv) { //Declare all Variables Here const int SIZE=80; int array[SIZE]; int sizeIn,sum,min,max; //Input the size of the array you are sorting cout<<"Read in a 1 dimensional array of integers find sum/min/max"<>sizeIn; //Now read in the array of integers cout<<"Now read the Array"<

//Exit return 0; }

C++ Please

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!