Problem Statement: Given the length and breadth of a rectangle, calculate the area.
Algorithm:
- Start
- Input the length (
L
) of the rectangle. - Input the breadth (
B
) of the rectangle. - Calculate the area using the formula: Area=L×B\text{Area} = L \times B
- Display the calculated area.
- End
Explanation: The area of a rectangle is simply the product of its length and breadth. Once we get the input values, the multiplication gives us the area.