write the programe area and parmiyet of the reactangle
Answers
Answered by
0
Answer:
A rectangle is a flat figure in a plane.It has four sides and four equal angles of 90 degree each.In rectangle all four sides are not of equal length like square, sides opposite to each other have equal length.Both diagonals of rectangle have equal length.
Explanation:
Examples:
Input : 4 5
Output : Area = 20
Perimeter = 18
Input : 2 3
Output : Area = 6
Perimeter = 10
Answered by
0
Answer:
#include<stdio.h>
#include<conio.h>
int main()
{
int l, b;
Printf("ent the values of l, b\n") ;
scanf("%d%d", &l,&b);
printf("area of rectangle=%d", (l*w)) ;
printf("perimeter of rectangle=%d", (2l+2w));
getch();
}
Explanation:
HOPE IT HELPS YOU
DO FOLLOW FOR MORE PROGRAMS
MARK AS BRAINLIEST
Similar questions