import java.util.Scanner;
public class AreaOfCircle {
public static void main(String args[]){
int radius;
double area;
Scanner sc = new Scanner(System.in);
System.out.println("Enter the radius of the circle ::");
radius = sc.nextInt();
area = (radius*radius)*Math.PI;
System.out.println("Area of the circle is ::"+area);
}
}
import java.util.Scanner;
public class Main {
public static void main(String[] args){
double R,A;
Scanner sc = new Scanner(System.in);
R = sc.nextDouble();
A = 3.14159 * R * R;
System.out.printf("A=%.4f
", A);
}
}