(Corner point coordinates) Suppose an n-sided regular polygon is centered at
(0, 0) with one point at the 3 o’clock position, as shown in Figure. Write a program that prompts the user to enter the number of the sides, the radius of the bounding circle of a polygon, and displays the coordinates of the corner points on the polygon.

Figure An n-sided polygon is centered at (0, 0) with one point at the 3 o’clock position.
Here is a sample run:

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.