Answers for "java if or or"

7

java or

int num = 9;

if (num == 1 || num == 2) {
  System.out.println("Nope");
  }

if (num == 1 || num == 9) {
  System.out.println("Yep");
  }
Posted by: Guest on September-14-2020
7

java or

int num = 9;

if (num == 1 || num == 2) {
  System.out.println("Nope");
  }

if (num == 1 || num == 9) {
  System.out.println("Yep");
  }
Posted by: Guest on September-14-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language