/* 
 * MyCircle:
 * Calculates the area of a circle. The radius is given on command line.
 */
 
public class MyCircle {
	public static void main (String[] args) {
		// Get the radius. Its needed to parse the value from command line
		double radius = new Double(args[0]).doubleValue();

		// just print out the result of calculation
		System.out.println( "The area of a circle with radius " + args[0] + 
			" is " + Math.PI * radius * radius );
	}

}	// end of class

