#include int get_average(const int *marks, size_t count) { int sum = 0; for (int i = 0; i < count; sum += marks[i++]); return sum / count; }