At Westonci.ca, we provide reliable answers to your questions from a community of experts. Start exploring today! Experience the convenience of getting accurate answers to your questions from a dedicated community of professionals. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.

3. Write an algorithm to find Area of square?

Sagot :

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