public class Iffy { // it takes a command-line argument // converts to a integer // if the integer is < 0 it iwll say You entered a // negative integer. public static void main(String[] args) { int entered = Integer.parseInt(args[0]); if(entered < 0) { System.out.println("You entered a negative number"); } else if(entered == 0) { System.out.println("Zip City!"); } else { System.out.println("You entered a positive number"); } } }