Click Here to go back to the homepage.

Herman Solution:


import java.util.*;

public class Kattis {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int input = sc.nextInt();
        System.out.println(Math.pow((input), 2)*Math.PI);
        System.out.println(Math.pow(input, 2)* 2.0);
    }
}