Write an algorithm to find area of square
Answers
Answered by
15
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.
Explanation:
Algorithm for calculating area of a square is as follows:-
Step 1 :- Start
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 4 :- Display the area of the square.
Step 5 :- Stop
hope ìt hélps..
Similar questions