Practice ยท 1 of 1
Three Stats, Three Functions
Implement min_of, max_of (both return int; empty vector returns 0), and avg_of (double, empty returns 0.0) over a vector of ints.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Refactor Practice: Split the Monolith