Help with a coding Problem for Computer Science(partially filled Arrays)

Can somebody do the following problem for me because I am completely stuck right now? I just started programming this year.

1)Write a program that creates an ellipse every time you click the mouse, at the mouse’s location. If you press ‘a’, then it should erase the earliest drawn ellipse that is still showing. If you press ‘z’ then it should erase the most recently drawn ellipse that is still showing.

Studio.ProcessingTogether.com/sp/pad/export/ro.9jCT0UHalHCI3
Studio.ProcessingTogether.com/sp/pad/export/ro.9oyKfI9kOIa77

1 Like