Given a list of integers, return the average of all positive elements. You may assume there is at least one element that is positive to avoid divide by zero errors.

Complete the following file:

prog.cpp

#include <iostream> using namespace std; double averageAllPositiveIntegers(const int arr[], int arr_size) {
}