Write a program to find the area and perimeter of a rectangle
Answers
Answered by
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
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