/*
 *  Programm mit Eingabe über die Befehlszeile ....
 *
 *  Start mit java Args <Wert>
 *
 */

public class ZahlAusArgs
{

  public static void main( String[] args)
  {
    int i=0;
    double wurzel;

    if (args.length > 0 )
    {
      i = Integer.parseInt(args[0]);
    }
    wurzel = Math.sqrt(i);
    System.out.println("Wurzel von "+i+" = "+wurzel);


  } // ----------main
} // ---------class
