I am trying to input multiple arrays into a function the arrays are b0[5] and b1[5]
do I declare it at the top as
double calcTotVol(double[], double[], float, int);
then receiving
double totalVol;
totalVol = calcTotVol(b0, b1, dbh, totalHt);
do I use the names of the array when creating the function
double calcTotVol(double b0[], double b1[], float dbh, int totalHt)
double totalVol;
totalVol = b0[5] + b1[5] * (dbh*dbh) * totalHt;
return totalVol;