Computer Science, asked by soniaesaji, 7 months ago

Write a program to find the area and perimeter of a rectangle

Answers

Answered by adityachaudhari38
2

Answer:

To find the perimeter of rectangle we add the length and width of rectangle and then multiply it with 2(as per formula given above) and store perimeter in a floating point variable. At last, it prints the perimeter of rectangle on screen using printf function. Opposite sides of a rectangle are equal and parallel

Explanation:

Hope it helps you please give me brainlest answer

Answered by mcafty8
2

Answer:

Formula for area of rectangle = Length × Breadth

Formula for perimeter = 2(Length+Breadth)

Explanation:

Follow me and mark this answer as brainliest plzzzzzzzz

Similar questions