Computer Science, asked by shreyadhiman759, 4 months ago

Write algorithm to find the ‘Area of Square’.

Answers

Answered by BrainlyFlash156
14

\Huge{\textbf{\textsf{{\color{orange}{QuE}}{\purple{sti}}{\pink{On}}{\color{pink}{:}}}}}

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.

Answered by BrainlyFlash156
5

\Huge{\textbf{\textsf{{\color{orange}{QuE}}{\purple{sti}}{\pink{On}}{\color{pink}{:}}}}}

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.

Answered by BrainlyFlash156
4

\Huge{\textbf{\textsf{{\color{orange}{QuE}}{\purple{sti}}{\pink{On}}{\color{pink}{:}}}}}

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.

Answered by BrainlyFlash156
6

\Huge{\textbf{\textsf{{\color{orange}{QuE}}{\purple{sti}}{\pink{On}}{\color{pink}{:}}}}}

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.

Answered by BrainlyFlash156
5

\Huge{\textbf{\textsf{{\color{orange}{QuE}}{\purple{sti}}{\pink{On}}{\color{pink}{:}}}}}

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.

Similar questions