Language: Java Write the function that produces the largest and smallest elements of an integer array sent to it, in accordance with the main function below. (Access to array elements should be done...


Language: Java


Write the function that produces the largest and smallest elements of an integer array sent to it, in accordance with the
main function below. (Access to array elements should be done according to offset-address increment notation.)
Sample Run:
Biggest : 23
Smallest : 0
Sample Main
................................/*prototip*/
int main()
{
int array[5]={23, 4, 2, 0, 8};
int biggest;
int smallest;
bigSmallFind(.............................)
printf("Biggest : %d \n", biggest);
printf("Smallest : %d \n", smallest);
return 0;
}



Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here