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
//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"< //Exit return 0; } C++ Please
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started