Write a Java program to input length and width and find perimeter and area of rectangle. Logic to find perimeter and area of a rectangle, whose length and width are given. In this example we will learn to write basic logical program in Java. We will learn to find perimeter and area of rectangle.

**Example**

**Input**

Length of rectangle = 30 Width of rectangle = 20

**Output**

Perimeter of rectangle is 100.0 units. Area of rectangle is 600.0 sq. units.

Continue reading Java program to find perimeter and area of rectangle