/**
 * A driver for the RadixPrinter class
 *
 * @author  Prof. David Bernstein, James Madison Unversity
 * @version 1.0
 */
 public class RadixPrinterDriver
 {

    /**
     * The entry point
     *
     * @param args   The command line arguments
     */
     public static void main(String[] args)
     {
			int            base, n;
			RadixPrinter   format;

			n    = Integer.parseInt(args[0]);
			base = Integer.parseInt(args[1]);

			format = new RadixPrinter();

			System.out.print(n + " in base " + base + ": ");
			format.printInBase(n, base);
     } // end main

} // end RadixPrinterDriver
