package Compute;
import java.util.Scanner;
public class ComputeArea2 {
public static void main(String args[])
{
final double PI=3.14159;
double area;
double radius=0.0;
Scanner sc =new Scanner(System.in);
while(sc.hasNextDouble()){
radius=sc.nextDouble();
area=PI*radius*radius;
System.out.println("The area forthe circle of 10 is"+area);
}
sc.close();
area = PI*10*10;
System.out.println("The area for the circle of 10 is"+area);
}
}
08-30
08-30
08-30