Skip to content

Commit 8bc50ee

Browse files
authored
Update + Comment 짝수와-홀수.js
Commet은 주석수정(오타수정)입니다.
1 parent 6a6e126 commit 8bc50ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

level-1/짝수와-홀수.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ function solution(num) {
1818
return answer;
1919
}
2020

21-
//정답 3 - prove-ability
21+
//정답 4 - prove-ability
2222
function solution(num) {
2323
return num % 2 === 0 ? "Even" : "Odd";
2424
}
25+
26+
//정답 5 - yongchanson
27+
function solution(num) {
28+
return num % 2 ? "Odd" : "Even";
29+
}

0 commit comments

Comments
 (0)