can someone help me with this assignment?i\'m so confused! it\'s from textbook c
ID: 3535309 • Letter: C
Question
can someone help me with this assignment?i'm so confused! it's from textbook c++programming:from problem analysis to program design 6thE
#include <iostream>
using namespace std;
int largest (const int list [], int lowerIndex, int up perIndex);
int main()
{
int intArray[10]={23,43,35,38,67,12,76,10,34,8};
cout<<"The largest element in intArray:"<<largest(intArray, 0,9);
cout<<endl;
return 0;
}
...
modify the code to populate a 100 position array using the rand and/or the srand functions and use the recursion code from page 992 to locate the largest number in the array. Finally use recursion to locate the smallest number in the array.
Explanation / Answer
Please rate with 5 stars :)
Here is my solution:
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.