프로그래머스 12937 짝수와 홀수

1 개요[ | ]

프로그래머스 12937 짝수와 홀수

2 C++[ | ]

#include <string>
#include <vector>

using namespace std;

string solution(int num) {
    return (num%2==0)? "Even" : "Odd";
}
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}