/*
 * A portion of Analyze number, using an if statement to improve the output
 * 
 * Created: August 2023
 * @author gtowell
 */
public class AnalyzeNumber5b {
    public static void main(String[] args) {
        int num = Integer.parseInt(args[0]);
        boolean isPositive = num > 0;
        if (isPositive) {
            System.out.println(num + " is positive");
        } else {
            System.out.println(num + " is negative");
        }
    }
}
