#include int* array_init (int N){ int *iarray; int i; // enter your code here: // 1. allocate memory for an array of size N // 2. fill this array with values from 1 to N return iarray; } float mean ( int N, int *array ){ int sum; // enter your code here // calculate the sum of all elements in the input array return sum * 1.0 / N; }