My error is
cannot convert double* to double for argument one to double standard_deviation(double int)
.. not sure what it is?
double standard_deviation( double array [ ], int num_value_give)
double total = 0, average = 0, numerator = 0;
int num_values_given = 6;
for(int b = 1; b < num_values_given; b++)
total += array[b];
Last edited on
it means that somewhere in your code you call this function and try to pass it a scalar object of type double instead of an array of doubles or a pointer to a double object.