mirror of
https://github.com/System-End/APCSA.git
synced 2026-04-19 16:38:24 +00:00
16 lines
367 B
Java
16 lines
367 B
Java
/* Lesson 6 Coding Activity Question 2 */
|
|
|
|
import java.util.Scanner;
|
|
|
|
public class U3_L6_Activity_Two {
|
|
|
|
public static void main(String[] args) {
|
|
Scanner scan = new Scanner(System.in);
|
|
int x = scan.nextInt();
|
|
int y = scan.nextInt();
|
|
|
|
if (y <= 9 || (x > 2 && x * y > 10)) {
|
|
System.out.println("pass");
|
|
}
|
|
}
|
|
}
|