Implement double mean(const int* a, int n) (sum divided by n as a double), int count_above(const int* a, int n, int t) (elements strictly greater than t), and int mode(const int* a, int n) (the value occurring most often; if several tie, return the SMALLEST such value).