// TwoWayExample.java – Demonstrates two way decision making
class TwoWayExample {
public static void main(String args[]) {
int i = 5;
int flag;
flag = (i < 10) ? 0 : 1;
System.out.println("Flag = " + flag);
}
}