Question: / * Lesson 6 Coding Activity Question 2 * / import java.util.Scanner; public class U 3 _ L 6 _ Activity _ Two { public

/* 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");
}
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!