Average computes negative

Code reviewMedium20 min

Your task

Review this C++ function that computes the average of a vector of 32-bit ints.