Here goes a description of the parameters and their validity range.
- The input parameter
r
- the radius of the circle - can only be a real number larger or equal to zero. - The input string is restricted to
square
orpentagon
, no other methods have been implemented so far.