|
|
for (int i; i , size; i++)
for (int i = 0; i < size; i++)
int size, sum, myNums[size], input;
int size, sum = 0, myNums[2000], input;
double output, avg;
double output, avg = 0.0;
output = array (size, avg, sum, myNums[0], input);
output = array (size, avg, sum, myNums, input);