(프로그래머스) 짝수와 홀수

유지원·2022년 5월 6일
0

프로그래머스

목록 보기
45/66

문제 링크

https://programmers.co.kr/learn/courses/30/lessons/12937?language=javascript


Javascript

function solution(num) {
    return num % 2 ? "Odd" : "Even"
}
profile
👋 https://github.com/ujw0712

0개의 댓글