Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 197 Bytes

File metadata and controls

5 lines (3 loc) · 197 Bytes

Problem 66:

Create a function that takes an array of numbers as input and returns the sum of all positive numbers in the array.

Example Input: [2, -5, 10, -3, 7] Example Output: 19