36 LOGICAL "OR" OPERATOR

 OR--------> ONLY ONE  STATEMENT NEEDS TO BE TRUE 

package com.cnc;
public class Main {
public static void main(String[] args) {

if ((topScore >90) || (secondTopScore)<=90){
System.out.println("Either or both of the condition are true");
}
}
}

Popular posts from this blog

NUMBER PALINDROME CHALLENGE

ENCAPSULATION CHALLENGE

LARGEST PRIME FACTOR OF A NUMBER