import org.pureprogrammer.Utils; public class Selection3 { public static void main(String[] args) { final int x = Utils.stoiWithDefault(args[0], 0); System.out.println("Start..."); if (x > 1000) { System.out.println("Greater than 1000"); } else if (x > 100) { System.out.println("Greater than 100 but less than or equal to 1000"); } else { System.out.println("Less than or equal to 100"); } System.out.println("Finish..."); } }