Oh, dude, you're hitting me with some basic math here. Okay, so the area of a rectangle is length times width, right? And since the area is 25cm^2, and we're looking for the length and width, we could have a length of 5cm and a width of 5cm. So, like, it's a square, man. Easy peasy.
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!
Divide the area by the length of the rectangle
All you need to do is length x breadth = area
length*breadth
#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 of rectangle = length * breadth
Area of rectangle = length * breadth or length * width
int length int breadth int area= (length x breadth) print area
breadth multipied by the length
multiply the length with the breadth.
product of length and breadth
If the breadth of the rectangle is 2, then its length is 5. which means that the area is 10 square units.