write an algorithm to get the value of sides of square from the user and find it's area
Answers
Answered by
0
Answer:
Explanation:
An algorithm is just a step-by-step list for doing something. We’ll be making a list of steps for calculating (A)^2, where A = the area of a square.
What is the area of a square? Length is a 1D measurement, it tells us distance in one direction. Area is a 2D measurement, it is distance^2 or distance*distance. In the case of a square, the shape has width = height, so we can say A = width*width = height*height.
Similar questions
History,
16 hours ago
Math,
16 hours ago
Math,
1 day ago
Social Sciences,
8 months ago
India Languages,
8 months ago