Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8f87224

Browse files
problme 66 initialization complete
1 parent 2057787 commit 8f87224

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

‎problem66/problem.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Problem 66:
2+
3+
### Create a function that takes an array of numbers as input and returns the sum of all positive numbers in the array.
4+
5+
**Example `Input: [2, -5, 10, -3, 7]` Example` Output: 19`**

‎problem66/problme66.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*
2+
Create a function that takes an array of numbers as input and returns the sum of all positive numbers in the array.
3+
4+
Example Input: [2, -5, 10, -3, 7] Example Output: 19 */
5+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /