2. • Lemo is making polygon cakes in his kitchen today? Since the judge
panel is very strict, Lemos cakes must be beautiful and have sharp
and precise internal angles in arithmetic progression. Given the
number of sides, N, of the cake Lemo is baking today and also the
measure of its first angle(smallest angle), A, find the measure of the
Kth angle.write a c program
3. • Here is the program that calculates the measure of the Kth angle in a
polygon cake, given the number of sides (N) and the measure of its
first angle (A);
4. • In this program, we take input from the user for the number of sides (N), the measure of t
angle = A + (K - 1) * (180.0 - A) / (N - 1)
Finally, we display the calculated measure of the Kth angle to the user.