Assuming that the length of a rectangle is greater than its breadth, any value L such that 15 ≤ L < 30 cm will do. Then breadth, B = 30 - L cm.
No, but language implies it.
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"); }
This length (diagonal) = sq.rt ( l2 + b2 ) where 'l' is length of the rectangle and 'b' is the breadth of the rectangle.
Usually, yes.
Assuming that the length of a rectangle is greater than its breadth, any value L such that 15 ≤ L < 30 cm will do. Then breadth, B = 30 - L cm.
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.
If you do not know the length or breadth of a rectangle, you cannot know the area. If you do not know the area of a rectangle, you cannot know the length and breadth. To know the length and breadth of a rectangle, you have to know some other contributing factor in the equation. If you don't, measure it!
No, but language implies it.
Add the length and breadth and then double it.
Divide the area by the length of the rectangle
2(length+breadth)=Perimetre Length= (Perimetre/2)-Breadth Area=Length x breadth
All you need to do is length x breadth = area
length*breadth
If the shape is a rectangle (or square), then Perimeter = 2*(Length + Breadth) So Breadth = Perimeter/2 - Length
#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"); }