Question: 1) Largest/Smallest Array Values Write a program that lets the user enter 10 values into an array. The program should then display the largest and
1) Largest/Smallest Array Values
Write a program that lets the user enter 10 values into an array. The program should then display the largest and smallest values stored in the array.
2) Do question 1(above) again this time using 5 functions.
void getValues(int [], int);
void displayValues(const int[], int);
int largest(const int[],int);
int smallest(const int[],int);
void displayLargestSmallest(int,int);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
