Question: C++: Develop and run a program that has two functions that find the maximum value (call it findLargest) in an array and the minimum value
C++: Develop and run a program that has two functions that find the maximum value (call it findLargest) in an array and the minimum value (call it findSmallest) in an array. Use the following input data: (32, 54, 67.5, 29, -34.5, 80, 115, 44.5, 100, and 65). You may hardcode the data into your array. Develop a function printArray which will print out the data. Output the maximum value in the array and the minimum value in the array using a third function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
