자바 짝수와 홀수 class Solution { public String solution(int num) { return num % 2 == 0 ? "Even" : "Odd"; } } 프로그래머스/LEVEL 1 2021.02.20