(Solved):If you run the program below, the figure a. will be shown at the center of the window. The color of the square changes from pure green to pure red from the bottom to the top. You need to fill in po… View Answer…

 

Question

If you run the program below, the figure a. will be shown at the center of the window.

The color of the square changes from pure green to pure red from the bottom to the top. You need to fill in position X and position Y so that the program can produce the image shown.

(The answer should not contain any unnecessary spaces. For example is the line of code is

Scroll to top