# C program to find area and perimeter of the rectangle

Input length and breadth and calculate the area and perimeter of a rectangle using C program.

Formula to calculate **area of a rectangle:** **length * breadth**

Formula to calculate **perimeter of a rectangle:** **2*length + 2*breadth** or **2(length + breadth)**

**Example:**

Input:
length: 2.55
breadth: 10
Output:
Area: 25.50
Perimeter: 25.10

## Area and perimeter of a rectangle in C

need an explanation for this answer? contact us directly to get an explanation for this answerOutput