Question: c++ please show how to write this function only no need for main for ajything just how to understand the algorithm. please write the function
Write a function that takes four parameters: an unsorted array of doubles, an integer that gives the number of elements, and two reference variables to doute Return the value of the smallest element of the array in the first reference variable call it smallest and the value of the largest element in the second one call it largest 110 points) The function prototypes as follows: void find LargestSmallest double dll. int size, double smallest, double Margest)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
