Find The Perimeter Of The Biggest Circle In Square - Java Quiz Question


Find the perimeter of the biggest circle which can be included in a square.
Let PI = 3.14

Input (Side) Output
5 15.7
0.3 0.942
11 34.54



class CalculatePerimeter
{
    public static void main(String s[])
    {
        double result = perimeterOfCircle(10);
        System.out.println("The perimeter of the biggest circle is " + result);

    }


    public static double perimeterOfCircle( double side )
        {
        }

}