Menu
Question Index
...

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 )
        {
        }

}

Doubts

Problems

Topic: Basic Arithmetic Operators In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App