Average function

Hello. Pls let me know Is there an average function in C++ library or I must code by myself?
Last edited on
I use std::accamulate and then result of this function I devide by count of array elements
Topic archived. No new replies allowed.