Add the length and breadth and then double it.
#include<stdio.h> void main() { float length, breadth, area, perimeter; printf("Enter the length & breadth of a Rectangle\n(length breadth): "); scanf("%f %f",&length,&breadth); area=length*breadth; perimeter=2*(length+breadth); printf(" Area of the Rectangle=%0.3f\n",area); printf("Perimeter of the Rectangle=%0.3f\n",perimeter); printf("(Press ENTER to exit.)"); getch(); printf("\n"); }
Area is length times width, perimeter is twice the sum of length and breadth.
360
you multiply the length by two then you multiply the width by two and then add the two answers 2l+2w
If the shape is a rectangle (or square), then Perimeter = 2*(Length + Breadth) So Breadth = Perimeter/2 - Length
Add the length and breadth and then double it.
#include<stdio.h> void main() { float length, breadth, area, perimeter; printf("Enter the length & breadth of a Rectangle\n(length breadth): "); scanf("%f %f",&length,&breadth); area=length*breadth; perimeter=2*(length+breadth); printf(" Area of the Rectangle=%0.3f\n",area); printf("Perimeter of the Rectangle=%0.3f\n",perimeter); printf("(Press ENTER to exit.)"); getch(); printf("\n"); }
56 cm Perimeter of a rectangle is given by 2(length + breadth). So, perimeter of given rectangle = 2(18 + 10) = 56
2(length+breadth)=Perimetre Length= (Perimetre/2)-Breadth Area=Length x breadth
Area is length times width, perimeter is twice the sum of length and breadth.
perimeter of rectangle=2(l+b) l=length of the rectangle b=breadth of the rectangle
breadth = 4x - 10 ie length + breadth = 5x - 10. Perimeter is double this figure ie 10x - 20 or 10(x - 2)
Perimeter of a rectangle = 2(length + breadth) if one of it's side is doubled then, the resultant perimeter will be 2(2length + breadth) or 2(length + 2 breadth) as the case may be.
Perimeter = 2*(Length + Breadth) So, 1570 = 2*(168 + Breadth) 785 = 168 + Breadth Breadth = 617 metres Which is rather an unusual result because normally the length is greater than the breadth.
360
A rectangle has two dimensions - length and width. Only if both dimensions are doubled, then the perimeter will be doubled.