Program : Compute the average of elements in a 1-D array in C++. Solution : #include <iostream> using namespace std; int main() { const int size = 5; int arr[size],i,sum;…
© Study Trigger. All Rights Reserved
Program : Compute the average of elements in a 1-D array in C++. Solution : #include <iostream> using namespace std; int main() { const int size = 5; int arr[size],i,sum;…