double sum( double myList[]){
takes one parameter.
double total = sum(myList[0], myList[1], myList[2], myList[3]);
is passing four parameters.
You can just:
double total = sum(myList[]);
Is the error any more verbose than just 'syntax error'?
What about changing the function definition to: double sum(double &myList[]){
Right now I'm just shooting in the dark; I'll need to review arrays in a minute, I don't use 'em much.
LOL....more errors occur as i change it to double sum(double &myList[]){
AWESOME!! thank you so much !!