Computer Science, asked by prawinkrishna2014, 7 months ago

Write Algorithm to read L and B value of a rectangle. calculate area and primeter of rectangle.

Answers

Answered by hdediting61
0

Answer:

Area = length breadth

Perimeter = 2(length+breadth)

Explanation:

1)Start

2) Take the input length(l)

3) Take the input breadth(b)

4) Apply the formula of area

5) store it in variable ( Area= lb)

6) Perimeter formula (2(l+b)).

7) Store it in  variable(Perimeter=2(l+b)).

8) Print Area.

9) Print Perimeter.

10)Stop

Similar questions