Statistics Toolkit
Challenge on lesson: Checkpoint: Arrays
CHALLENGE
Difficulty: beginner+25 XP
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).
Press Submit to check your solution.
Back to lesson: Checkpoint: Arrays