Question: 8) 16 pts. Complete the following function: double GetSmallest(const double AL] int sizeA) // given input of array A with sizeA elements /7 this function
8) 16 pts. Complete the following function: double GetSmallest(const double AL] int sizeA) // given input of array A with sizeA elements /7 this function returns the value of the /smallest element in A. You may assume that // all elements in A are > 0 double smallest- 0; return smallest; 9) 6pts. Complete the call to the function you completed in the previous question int maino const int SIZE 100; double answer; double vector[sIzE]; //
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
