Question: C++ PROGRAMMING PROBLEM 1 (a) Modify the int findMax (int[]) function in Program 7.6 of Bronson text to additionally find the minimum. As such develop
PROGRAMMING PROBLEM 1 (a) Modify the int findMax (int[]) function in Program 7.6 of Bronson text to additionally find the minimum. As such develop the function with the prototype void findMaxMin (int[],int&, int&) [10 points] (b) Include the function developed in part (a) above in a complete program and run the program. Use at least two sets of data to verify the function. I5+5+5+5 points] (c) Rewrite the function developed in part () above using vector class and functions specified in Table 7.2 of Bronson text. Your new function prototype will be as follows: void findMaxMin (vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
