int length int breadth int area= (length x breadth) print area
#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 or length * width
Area of rectangle = length * breadth
Area = Length * Breadth.
2(length+breadth)=Perimetre Length= (Perimetre/2)-Breadth Area=Length x breadth
All you need to do is length x breadth = area
int length int breadth int area= (length x breadth) print area
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!
include<stdio.h> #include<conio.h> void main() { int length, breadth, area ; printf("\n Enter the length & breadth of a Rectangle"); scanf("d",&length,&breadth); area=length*breadth; printf("\n Area of the Rectangle=%d",area); getch(); }
The area of any rectangular shape, including the square, is the length times the breadth. Area = length x 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"); }
It is 2*(Length*Breadth + Breadth*Height + Height*Length).
Divide the area by the length of the rectangle
Area of rectangle = length * breadth or length * width
If 2 sides of the rectangle are 6cm, then the remaining 2 sides are 4cm. Area = Length x Breadth Breadth = Area / Lenghth 24 = 6 x Breadth Breadth = 24 / 6 = 4
length*breadth