121k views
3 votes
Algorithm of how to calculate the area of a square.

User Junho Park
by
6.6k points

2 Answers

5 votes

Answer:

Area = side x side. For example, the area of a square of each side of length 8 feet is 8 times 8 or 64 square feet.

User Shane Haw
by
6.8k points
4 votes

Answer:

In order to calculate area of a square, 'A' be the area of square and the length of the square be 'a'. Then we need to calculate A= a*a. Step 2 :- Accept as input, the length of the sides of the square, and store the value in variable a. Step 3 :- Calculate the area of the square (a*a) and store in a variable A.

Step-by-step explanation:

User Bente
by
6.6k points