Menu
Question Index
...

Find the area of rectangle excluding the area of the biggest circle that can fit in it.
Let PI = 3.14

Input (Length, Width) Output
33, 20 346
20, 10 121.5
22, 15 153.375



class CalculateArea
{
    public static void main(String s[])
    {
        double result = areaOfRectangle( 33, 20 );
        System.out.println("The area of rectangle " + result);
        

    }


    public static double areaOfRectangle( double length, double width )
        {
        }

}

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