Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 268 Bytes

File metadata and controls

12 lines (10 loc) · 268 Bytes

프로그래머스 Level1 : 연습문제 짝수와 홀수

class Solution {
    public String solution(int num) {
        if(num%2==0) return "Even";
        else return "Odd";
    }
}