Write code which takes two inputs from the user, a number of sides followed by a side length, then creates a regular polygon with that number of sides and side length.
Sample run:
Type the number of sides:
8
Type a side length:
7.5
regular octagon with side length 7.5
Hint: Make sure you use the right data types when taking user input.
To reference the documentation for the RegularPolygon class