解题思路:
注意事项:
参考代码:
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner myScanner = new Scanner(System.in);
int num = myScanner.nextInt();
if(num%2==0)
System.out.println("even");
else
System.out.println("odd");
}
}
0.0分
2 人评分