Menu
Question Index
...

Find the area of the biggest circle that goes through all corners of a square.
Assume PI = 3.14

Input (Side) Output
5 39.25
0.7 0.7693
0.03 0.00141



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

    }


    public static double areaOfCircle(double side)
    {
    }

}

Doubts

Problems

Topic: Java Math Class - java.lang.Math

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App