Computer Science, asked by baksiraunak, 2 days ago

write an algorithm to find perimeter and area of square. also write its flowchart. you can attach a picture or do it in else way and donot type anything abusive.​

Answers

Answered by nukulsainh2912
0

Answer:

it is answer of your question

Attachments:
Answered by MichMich0945
0

Formulas:-

1) Perimeter of square: P = 4a

2) Area of square: A = a²

Algorithm:

Perimeter of square:

  1. Start.
  2. Accept side.
  3. perimeter = 4 × side
  4. Print p
  5. Stop.

Area of square:

  1. Start.
  2. Accept side.
  3. area = side² (side × side)
  4. Print area.
  5. Stop.

Flowchart(s) are provided in the attachments.

Hope this helps you <3

Attachments:
Similar questions