write a menudriven program to :
(i)find the area and perimeter of square
(ii)find the area and perimeter of rectangle
Answers
Answered by
0
Answer:
I)Since all sides of a square are equal, we only need one side to find its perimeter. The perimeter of the given square is: a + a + a + a = 4 a units. Hence, the formula of the perimeter of a square = 4 × (length of any one side
Explanation:
ii)The perimeter P of a rectangle is given by the formula, P=2l+2w , where l is the length and w is the width of the rectangle. The area A of a rectangle is given by the formula, A=lw , where l is the length and w is the width
please mark me as brainliest
Similar questions
Physics,
1 month ago
Math,
1 month ago
Accountancy,
1 month ago
Social Sciences,
3 months ago
Physics,
3 months ago
Economy,
10 months ago