public class IfDemo2 {
public static void main(String[] agrs) {
int x=100; //Use IF to demonstrate
if(x% 2==0) {
System.out.println("100 is an even number");
System.out.println("100 is an odd number");
");
}
//Use trinocular demonstration
String b=(x%2==0)?"100 is an even number":"100 is an odd number ";
System.out.println(b);
Uh-huh