🐉
AtCoder (Java)
作成日:
2024/11/20
0
abc086 A-productを解いた。
package abc086;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
scanner.close();
if((a*b) % 2 == 0) {
System.out.println("Even");
} else {
System.out.println("Odd");
}
}
}
Javaを勉強中