/** DemoDivCmdLineArgs is a demonstration of converting command line arguments to int, and then dividing them. @author P.Conrad @version 01.17.2012 CS56 W12 */ class DemoDivCmdLineArgs{ public static void main(String [] args) { int x=Integer.parseInt(args[0]); int y=Integer.parseInt(args[1]); System.out.println("x=" + x + " y=" + y); int z=x/y; System.out.println(" z= " + z); } }