write a program code to print area and perimeter of a rectangle
Answers
The rectangle is quadrilaterals(having four sides). All four interior angles of a rectangle are 90.(right angles).
The area of a rectangle is the amount of two-dimensional space inside the boundary on rectangle. The area of a rectangle can be calculated by placing the rectangle over a grid and counting the number of square units it takes to completely fill a rectangle.
The perimeter of a rectangle is the linear distance around the boundary of the rectangle.
In other words, we can think of perimeter of a rectangular surface as the length of fence needed to enclose that rectangular surface, area is the space inside surface. Perimeter is measured in linear units like meter, centimeter, mile etc, whereas area is measured in square units like cm2, Km2 etc.
follow me and Brainst