Computer Science, asked by tajwinderhundal7724, 9 months ago

Write the algorithm to find the area of rectangle

Answers

Answered by Anonymous
48

Answer:

Define the width of the rectangle.

Define the Height of the rectangle.

Define Area of the rectangle.

Calculate the area of the rectangle by multiplying the width and height of the rectangle.

Assign the area of the rectangle to the area variable.

print the area of the rectangle.

Answered by Anonymous
10

• The area of a rectangle is the area enclosed inside the rectangle's dimensions.

• The formula for calculating the area of a rectangle is: Length*Breadth = Area

The area of a rectangle can be calculated using this algorithm.

Determine the rectangle's length.

Determine the rectangle's width.

Multiply the length by the breadth to get the area of the rectangle.

Similar questions