import java.lang.*;

class Rectangle
{

public static void main(String args[])
{

float a=5.3f,b=6.3f,area,peri;
System.out.println(“\nRectangle:\n”);
System.out.println(“Sides of the Rectangle a : “+a+” b : “+b);

area=(a*b);
peri=(2*(a+b));
System.out.println(“Area of the Rectangle : “+area);
System.out.println(“Perimeter of the Rectangle : “+peri);
}
}

67,247 total views, 38 views today

Get Free Email Updates..!
Join us for FREE to get instant email updates..! GobsInfo- Everything Unlimited
We hate spam. Your email address will not be sold or shared with anyone else.

4,646 Thoughts to “Java Program To Find Area And Perimeter Of Rectangle”

  1. order cialis online mastercard
    buy cialis
    wholesale cialis pills

  2. Java Program To Find Area And Perimeter Of Rectangle – GobsInfo
    Parajumpers Salg

Leave a Comment