Calculate the solution
Steps
- Understand the problem.
- We need to output the report line announcing
the calculation.
- We need to show the input value, radius, and the resulting area.
- Design a solution.
- Output the literal value, "The
area of a circle of radius ".
- Output the value in radius.
- Output the literal value, "
is ".
- Output the value in area.
- Output the literal value, ".".
- Test the solution.