Given an array of integers of length >= 3, return the average of the first, last, and middle element (or the two middle elements if the length is even).

Complete the following file:

prog.cpp

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