Computer Science, asked by nadeemnahid786, 1 year ago

an algorithm to get the value of length and breadth of a rectangle from the user and find its area

Answers

Answered by harpreet2223
5

To find Length or Breadth when Area of a Rectangle is given

When we need to find length of a rectangle we need to divide area by breadth.

Length of a rectangle = Area ÷ breadth.

ℓ = A ÷ b.

Similarly, when we need to find breadth of a rectangle we need to divide area by length.

Breadth of a rectangle = Area ÷ length.

b = A ÷ ℓ

Answered by xANURAAGx
15

Answer:

Step1: Start

Step2: Accept two numbers A,B

Step3:multiply Both the numbers and store the value in the variable "Area".

Step4:Display the Area.

Step5:Stop

Similar questions