import java.util.Scanner;

public class ComputeArea {

	public static void main(String[] args) {
		//constants
		final double PI = 3.14159;
		
		Scanner input = new Scanner(System.in);
		
		System.out.print("Enter the radius: ");
		
		//declare radius assign the value from the user
		//entering incorrect type of data: runtime error/exception
		double radius = input.nextDouble();
		
		System.out.println("Radius = " + radius);
		
		//logic error: wrong formula e.g. r + r + PI
		double area = radius * radius * PI;                    
		
		System.out.print("Area = ");
		
		//compile error if area spelled wrong
		System.out.println(area);
	}

}
