Area of Circle
public class Circle
{
public static void main(double radius)
{
double area ;
area = 22/7 * (radius * radius);
System.out.println("Area of circle is " + area);
}
}
No comments:
Post a Comment