You are on page 1of 1

public class CalculateCircleAreaExample {

public static void main(String[] args)


{
int radius = 3;
System.out.println("The radius of the circle is " + radius);

double area=Math.PI*radius*radius;

System.out.println("Area of the circle is"+area);


}
}ggf

You might also like