Calculate the solution

Steps

  1. Understand the problem.
    1. We need to calculate the area using the formula, area = PI * radius2
    2. radius2 is the value of radius * radius.
  2. Design a solution.
    1. Multiply the value in radius by the value in radius and store in the container radius_squared.
    2. Multiply the value radius_squared in by the value in PI and store the result in area.
  3. Test the solution.