uploaded at 2022. 12. 9. 오후 5:18:31
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// [문제 링크]: https://school.programmers.co.kr/learn/courses/30/lessons/12937
|
||||
|
||||
class Solution {
|
||||
public String solution(int num) {
|
||||
return (Math.abs(num) % 2 == 1) ? "Odd" : "Even";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user