Description
Write a program that draws a heptagon (a seven-siden polygon) with a button “Change” at the center. The heptagon is in blue as shown in Figure 1. Once the button is clicked, the color of the heptagon turns into red as shown in Figure 2.

25.00 $
Write a program that draws a heptagon (a seven-siden polygon) with a button “Change” at the center. The heptagon is in blue as shown in Figure 1. Once the button is clicked, the color of the heptagon turns into red as shown in Figure 2.

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.