261,213 views
39 votes
39 votes
Write an algorithm to find Area of square?​

User Rashleighp
by
3.1k points

1 Answer

16 votes
16 votes

Explanation:

AREA OF SQUARE:

A square is simply a rectangle with equal sides. As a result, the length and breadth of a square are equal. As a result, the area of a square is the product of two square sides, or in simpler terms, squares of the side.

Area = Side^{2}Area=Side

2

We use the following formula to compute the area of a rectangle after being given the length and width of the rectangle as input.

ALGORITHM:

Step 1 : Start

Step 2: Input Side

Step 3: Area = Side \times× Side

Step 4: Print area

Step 5: Stop

User TalL
by
3.4k points