write a program thats lets the user enter 10 values into an array. the program should then display the largest and smallest values stored in the array.
am i doing this right if not can someone help me out thank you
#include <iostream>
int lowest(int[], int);
int highest(int[], int);
constint MAX = 10;
int main(){
int ary[MAX], num;
for (int i = 0; i < MAX; i++){
//Code here
}
//Finish up
return 0;
}
int lowest(int ary[], int size){
//Code here
}
int highest(int ary[], int size){
//Code here
}