(Random point on a circle) Write a program that generates three random points
on a circle centered at (0, 0) with radius 40 and display three angles in a triangle formed by these three points, as shown in Figurea. (Hint : Generate a random angle α in radians between 0 and 2π , as shown in Figureb and the point determined by this angle is (r* cos(a), r* sin(a)).)



Figure (a) A triangle is formed from three random points on the circle. (b) A random point on the circle can be generated using a random angle α. (c) A pentagon is centered at (0, 0) with one point at the 0 o’clock position.
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.