Sum up all array elements with values greater than

Write a function that takes an array (a) and a number (b) as arguments. Sum up all array elements with a value greater than b. Return the sum
Get a premium membership to access this content: