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