import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
double a = scan.nextDouble();
double b = 3.14159 * Math.pow(a, 2);
System.out.printf("A=%.4f%n" , b);
scan.close();
}
}
0 comentários:
Postar um comentário