surface area of a square code example
Example 1: area of square
Area of square = Length (or width, whichever) to the power of 2
Example 2: area of rectangle
Area of rectangle = Length * Width
Area of square = Length (or width, whichever) to the power of 2
Area of rectangle = Length * Width