Skip to content

Commit 950d6a8

Browse files
authored
Merge pull request Swap76#258 from garrowp/patch-1
Create if_else.md
2 parents 5d9ae51 + 109df80 commit 950d6a8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
**Write** a JavaScript program to determine if a number is positive, negative, or zero.
2+
3+
**Example Input**:
4+
5+
6
6+
0
7+
-20
8+
9+
**Expected Output**:
10+
11+
"positive"
12+
"zero"
13+
"negative"

0 commit comments

Comments
 (0)