import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double R = input.nextDouble();
double L=input.nextDouble();
double num_a=R*R*3.14159*10;
double num_v=num_a*L;
int num_A=(int)num_a;
int num_V=(int)num_v;
double A=num_A/10.0;
double V=num_V/10.0;
System.out.println(A);
System.out.println(V);
}
}
이렇게 하면 안되나요?