13. Closures: Gold Challenge solution

let volunteerAverages = [10.75, 4.2, 1.5, 12.12, 16.815]

let sortedRoundedAverages: Int = volunteerAverages.map {Int($0.rounded())}.filter {$0 >= 10}.reduce(5) {$0 + $1}
// 45
let volunteerAverages = [10.75, 4.2, 1.5, 12.12, 16.815]

let sortedRoundedAverages = volunteerAverages.map { Int($0.rounded()) }.sorted()