import java.io.*; public class Test1 { public static void main(String[] args) { double x = (args.length > 0) ? Double.parseDouble(args[0]) : 1; double y = (args.length > 1) ? Double.parseDouble(args[1]) : 2; double ratio = Math.abs(x/y); //ratio = 2* Double.MAX_VALUE; //ratio /= ratio; //System.out.println("ratio = " + ratio); if (ratio > 1.0) { System.out.println(x + " > " + y); } else { System.out.println(x + " <= " + y); } } }