Using c++; Write and test the following function that returns the average of the first n elements of array a[] of size K
Posted: Thu May 05, 2022 12:56 pm
Using c++;
Write and test the following function that returns the average
of the first n elements of array a[] of size K (where n ≤ K):
float ave(int a[], int n, int K);
Write and test the following function that returns the average
of the first n elements of array a[] of size K (where n ≤ K):
float ave(int a[], int n, int K);