// Scott DeRuiter 9/12/00 // IfElse.java // A simple if-else java program public class IfElse { public static void main (String [] args) { int x = -5; if (x > 20) System.out.println ("Bigger than twenty"); else if (x > 16) System.out.println ("Greater than 16, less than 21"); else if ( x > 12 ) System.out.println ("Greater than 12, less than 17 "); else System.out.println ( "Less than 13" ); } }