class circle
{
public static void main(String args[])
{
double r=100;
double p=2*3.14*r;
double area=3.14*r*r;
System.out.println("\nperimeter of circle :"+p);
System.out.println("\narea of circle :"+area);
System.out.println("\n");
}
}
{
public static void main(String args[])
{
double r=100;
double p=2*3.14*r;
double area=3.14*r*r;
System.out.println("\nperimeter of circle :"+p);
System.out.println("\narea of circle :"+area);
System.out.println("\n");
}
}