Need some help computing the geometric mean of an array
this is what I have so far...
i'm not really sure why i'm suppose to use pow
include math.h
include
int geomean(int *myarray, int count)
{
double geo = 0;
double count = (double)count;
for(int k=0; k < count; k++)
{
geo+= myarray[k] * myarray[k];
geo = pow();
}
}