public class SyntaxExample15 { public static void main (String[] argv) { int i = 10; if (i == 10) System.out.println ("i is equal to 10"); if ( !(i == 10) ) System.out.println ("i is not equal to 10"); if (i < 10) System.out.println ("i is less than 10"); if ( (i >= 5) && (i <= 10) ) System.out.println ("i is between 5 and 10"); if ( (i >= 5) && (i != 6) ) System.out.println ("i larger than 6"); } }