OK so I created a method and I actually need it to return two different values. Two different arrays. Now the only way I think I could do this is by putting the values into an array. That didn't work. This was because I was initializing improperly. Now I have no clue if what I'm trying to do is possible. Or if it is I don't know how to do it and I would like some assistance. Below is what I tried doing:
double[] average = {averagevalues, averagepi};
and
double[] average = new double[2];
average[0] = averagevalues;
average[1] = averagepi;