Problem

Return how many values in data are strictly greater than threshold.

Examples

  • countAboveThreshold([60, 70, 55, 80], 65) -> 2
  • countAboveThreshold([1, 2, 3], 10) -> 0
Compile and test (Ctrl+Enter)